CVE-2011-1487

medium
Published 2011-04-11 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
6.0

Description

The (1) lc, (2) lcfirst, (3) uc, and (4) ucfirst functions in Perl 5.10.x, 5.11.x, and 5.12.x through 5.12.3, and 5.13.x through 5.13.11, do not apply the taint attribute to the return value upon processing tainted input, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-35554 remote linux verified
mmartinec ยท 2011-03-30

Perl 5.x - 'lc()' / 'uc()' TAINT Mode Protection Security Bypass

Source code queued for fetch โ€” refresh in a moment.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 5.10.1-20
sid Fixed 5.10.1-20
forky Fixed 5.10.1-20
bullseye Fixed 5.10.1-20
bookworm Fixed 5.10.1-20

Application impact

VendorProductVersionsFixed
perlperl5.10.0
perlperl5.10.1
perlperl5.13.0
perlperl5.13.1
perlperl5.13.2
perlperl5.13.3
perlperl5.13.4
perlperl5.13.5
perlperl5.13.6
perlperl5.13.7
perlperl5.13.8
perlperl5.13.9
perlperl5.13.10
perlperl5.13.11
perlperl5.11.0
perlperl5.11.1
perlperl5.11.2
perlperl5.11.3
perlperl5.11.4
perlperl5.11.5
perlperl5.12.0
perlperl5.12.1
perlperl5.12.2
perlperl5.12.3

References

CWEs

CWE-264

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.