Live threats

All CVEs / Perl

CVE-2012-5195Perl

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
4.9%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Dec 18, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Perl.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
perlperl5.12.0
perlperl5.12.0
perlperl5.12.0
perlperl5.12.0
perlperl5.12.0
perlperl5.12.0
perlperl5.12.0
perlperl5.12.1
perlperl5.12.1
perlperl5.12.1
perlperl5.12.2
perlperl5.12.2
perlperl5.12.3
perlperl5.12.3
perlperl5.12.3
perlperl5.12.3
perlperl5.12.4
perlperl5.14.0
perlperl5.14.0
perlperl5.14.0
perlperl5.14.0
perlperl5.14.1
perlperl5.14.2

Official sources

References

Links published by the sources. Open them with care.