Vulnerability

CVE-2012-5195

HIGH 7.5

CVE-2012-5195 is a high-severity vulnerability (CVSS v2 7.5). As of 2026-12-02, 10 hosts in our data show software it affects on an open service in 7 countries.

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.

Published
2012-12-18
Last modified
2026-06-16
CVSS score
7.5 CVSS v2
CVSS vector (v2)
AV:N/AC:L/Au:N/C:P/I:P/A:P
Exploit likelihood (EPSS)
4.9% in the next 30 days (top 8% of CVEs)

Exposure in our data

10 hosts

Hosts whose banner shows an affected software version on a service open at their latest check.

Not counted: 31 more on distribution builds that may be patched (the distribution may have backported the fix without changing the version).

Counted 2026-12-02 03:20 UTC

By country

Austria AT2
France FR2
Ireland IE2
Moldova MD1
Russia RU1
Sweden SE1
United States US1

Affected software seen

perl 5.12.38
perl 5.14.28
perl 5.12.22
perl 5.12.42