CVE-2011-2939
CVE-2011-2939 is a medium-severity vulnerability in Dan Kogai Encode Module with a CVSS 2.0 base score of 5.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-189.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.1)
- EPSS exploit prediction: 3% (84th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-189
- Affected product: Dan Kogai Encode Module
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2011-2939?
- 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.
- How severe is CVE-2011-2939?
- CVE-2011-2939 has a CVSS 2.0 base score of 5.1, rated medium severity.
- Is CVE-2011-2939 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2011-2939?
- CVE-2011-2939 primarily affects Dan Kogai Encode Module. In total, 176 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2011-2939?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2011-2939 published?
- CVE-2011-2939 was published on 2012-01-13 and last updated on 2026-06-16.
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
- http://www.ubuntu.com/usn/USN-1643-1
- https://bugzilla.redhat.com/show_bug.cgi?id=731246
Affected products (176)
- cpe:2.3:a:dan_kogai:encode_module:*:*:*:*:*:*:*:*
- 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:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.26:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.28:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.30:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.31:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.32:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.33:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.34:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.40:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.41:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.42:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.50:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.51:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.52:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.53:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.54:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.55:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.56:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.57:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.58:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.59:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.60:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.61:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.62:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.63:*:*:*:*:*:*:*
- cpe:2.3:a:dan_kogai:encode_module:1.64:*:*:*:*:*:*:*
Other CWE-189 (Numeric Errors) vulnerabilities
- CVE-2015-8396 — Critical (CVSS 10.0): Integer overflow in the ImageRegionReader::ReadIntoBuffer function in…
- CVE-2015-7205 — Critical (CVSS 10.0): Integer underflow in the RTPReceiverVideo::ParseRtpPacket function in Mozilla Firefox before 43.0 and Firefox ESR 38.x…
- CVE-2015-6575 — Critical (CVSS 10.0): SampleTable.cpp in libstagefright in Android before 5.1.1 LMY48I does not properly consider integer promotion, which…
- CVE-2015-3864 — Critical (CVSS 10.0): Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in…
- CVE-2015-3836 — Critical (CVSS 10.0): The Parse_wave function in arm-wt-22k/lib_src/eas_mdls.c in the Sonivox DLS-to-EAS converter in Android before 5.1.1…
- CVE-2015-3834 — Critical (CVSS 10.0): Multiple integer overflows in the BnHDCP::onTransact function in media/libmedia/IHDCP.cpp in libstagefright in Android…