CVE-2011-2939 Memory corruption in n/a
A heap-based buffer overflow in the Perl Encode module allows attackers to cause a denial of service via crafted Unicode strings.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2011-2939?
CVE-2011-2939 is a medium-severity memory corruption vulnerability in n/a, published on 13 Jan 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-189
Which versions are affected by CVE-2011-2939?
It affects 2 products.
Products include Dan Kogai Encode Module, Perl Perl.
How do I fix CVE-2011-2939?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2011-2939 being exploited?
There is no known exploitation of CVE-2011-2939 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2011-2939, GHSA-76hr-qp66-cq6j.