What’s Vulnerable › Vulnerabilities
CVE-2011-2939
- Severity: medium (CVSS 5.1 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2012-01-13 · updated 2026-06-16
- Weakness: CWE-189
Description
Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44, as used in Perl before 5.15.6, might allow context-dependent attackers to cause a denial of service (memory corruption) via a crafted Unicode string, which triggers a heap-based buffer overflow.
Affected products
- Dan Kogai Encode Module: through 2.43; 0.93, 0.94, 0.95, 0.96, 0.97, 0.98 (+111)
- perl: through 5.14.2; 5.8.1, 5.8.2, 5.8.3, 5.8.4, 5.8.5, 5.8.6 (+51)
References
- http://cpansearch.perl.org/src/FLORA/perl-5.14.2/pod/perldelta.pod
- http://perl5.git.perl.org/perl.git/commitdiff/e46d973584785af1f445c4dedbee4243419cb860#patch5
- http://search.cpan.org/~flora/perl-5.14.2/pod/perldelta.pod#Encode_decode_xs_n-byte_heap-overflow_%28CVE-2011-2939%29
- http://secunia.com/advisories/46172
- http://secunia.com/advisories/46989
- http://secunia.com/advisories/51457
- http://secunia.com/advisories/55314
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:008
- http://www.openwall.com/lists/oss-security/2011/08/18/8
- http://www.openwall.com/lists/oss-security/2011/08/19/17
- http://www.redhat.com/support/errata/RHSA-2011-1424.html
- http://www.securityfocus.com/bid/49858
Get alerted when CVE-2011-2939 or the next vulnerability affects your stack