CVE-2012-5195 Memory corruption in n/a
Heap-based buffer overflow in Perl's repeat operator allows attackers to cause denial of service or execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Not stated
- Victim action needed
- Not stated
- Fix
- Available
What is CVE-2012-5195?
CVE-2012-5195 is a high-severity memory corruption vulnerability in n/a, published on 18 Dec 2012.
Official description
Heap-based buffer overflow in the Perl_repeatcpy function in util.c in Perl 5.12.x before 5.12.5, 5.14.x before 5.14.3, and 5.15.x before 15.15.5 allows context-dependent attackers to cause a denial of service (memory consumption and crash) or possibly execute arbitrary code via the 'x' string repeat operator.
Weakness: CWE-119
Which versions are affected by CVE-2012-5195?
It affects 1 product.
Products include Perl Perl.
How do I fix CVE-2012-5195?
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-2012-5195 being exploited?
There is no known exploitation of CVE-2012-5195 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2012-5195, GHSA-6768-qw7m-q528.