CVE-2011-2939
Severity CVSS v4.0:
Pending analysis
Type:
CWE-189
Numeric Errors
Publication date:
13/01/2012
Last modified:
11/04/2025
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.
Impact
Base Score 2.0
5.10
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:dan_kogai:encode_module:*:*:*:*:*:*:*:* | 2.43 (including) | |
| cpe:2.3:a:dan_kogai:encode_module:0.93:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:0.94:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:0.95:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:0.96:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:0.97:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:0.98:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:0.99:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:1.00:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:1.01:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:1.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:1.11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:1.20:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:1.21:*:*:*:*:*:*:* | ||
| cpe:2.3:a:dan_kogai:encode_module:1.25:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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%3A008
- 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
- http://www.ubuntu.com/usn/USN-1643-1
- https://bugzilla.redhat.com/show_bug.cgi?id=731246
- 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%3A008
- 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
- http://www.ubuntu.com/usn/USN-1643-1
- https://bugzilla.redhat.com/show_bug.cgi?id=731246



