All reports
Medium

perl: heap buffer overrun flaw may lead to arbitrary code execution

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2012-5195

Probability of exploitation in the next 30 days: 4.88%

FIRST EPSS · 2026-11-22

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.