CVEvulnerability

CVE-2012-5195

7.5 HIGH Published 2012-12-18 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2012-12-18
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-119

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.

Affected configurations

• perl perl 5.12.0 • perl perl 5.12.1 • perl perl 5.12.2 • perl perl 5.12.3 • perl perl 5.12.4 • perl perl 5.14.0 • perl perl 5.14.1 • perl perl 5.14.2

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References