Vulnerability in Dan Kogai Encode Module
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.1 (Medium). Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.026, 85.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dan Kogai Encode Module — versions 0.93, 0.94, 0.95
- Perl — versions 5.8.1, 5.8.2, 5.8.3
Weakness classification (CWE)
References
- secunia.com/advisories/46989 (third-party-advisory)
- cpansearch.perl.org/src/FLORA/perl-5.14.2/pod/perldelta.pod
- secunia.com/advisories/55314 (third-party-advisory)
- USN-1643-1 (vendor-advisory)
- www.securityfocus.com/bid/49858 (vdb-entry)
- [oss-security] 20110818 CVE request: heap overflow in perl while decoding Unicode string (mailing-list)
- perl5.git.perl.org/perl.git/commitdiff/e46d973584785af1f445c4dedbee4243419cb860 (Exploit, Patch)
- secunia.com/advisories/46172 (third-party-advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch)
- search.cpan.org/~flora/perl-5.14.2/pod/perldelta.pod