CVE-2011-2939Heap-based Buffer Overflow in Libencode-perl

Severity
5.1MEDIUMNVD
EPSS
6.6%
top 8.83%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 13
Latest updateMay 14

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.

CVSS vector

AV:N/AC:H/C:P/I:P/A:PExploitability: 4.9 | Impact: 6.4

Affected Packages5 packages

debiandebian/libencode-perl< libencode-perl 2.44-1 (bookworm)
debiandebian/perl< libencode-perl 2.44-1 (bookworm)
Debianperl/perl< 5.12.4-4+3
NVDperl/perl5.14.2+38

Patches

🔴Vulnerability Details

2
GHSA
GHSA-76hr-qp66-cq6j: Off-by-one error in the decode_xs function in Unicode/Unicode2022-05-14
OSV
CVE-2011-2939: Off-by-one error in the decode_xs function in Unicode/Unicode2012-01-13

📋Vendor Advisories

3
Ubuntu
Perl vulnerabilities2012-11-30
Red Hat
Perl decode_xs heap-based buffer overflow2011-08-09
Debian
CVE-2011-2939: libencode-perl - Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode m...2011

💬Community

2
Bugzilla
CVE-2011-2939 Perl decode_xs heap-based buffer overflow [fedora-all]2011-10-04
Bugzilla
CVE-2011-2939 Perl decode_xs heap-based buffer overflow2011-08-17
CVE-2011-2939 — Heap-based Buffer Overflow | cvebase