Buffer overflow in Perl

CVE-2012-5195

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.

Vulnerability class: Buffer Overflow

EPSS: 0.049 (91.1th percentile) — read the EPSS interpretation.

Affected products

  • Perl — versions 5.12.0, 5.12.1, 5.12.2
  • N/a — versions n/a

Weakness classification (CWE)

References