perl: heap buffer overrun flaw may lead to arbitrary code execution
Published Dec 18, 2012
7.5
HIGHCVSS 2.0
EPSS 4.88%
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 products
No data.
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.1
- 5.12.1
- 5.12.1
- 5.12.2
- 5.12.2
- 5.12.3
- 5.12.3
- 5.12.3
- 5.12.3
- 5.12.4
- 5.14.0
- 5.14.0
- 5.14.0
- 5.14.0
- 5.14.1
- 5.14.2
No data.
Red Hat Enterprise Linux 5
perl-4:5.8.8-40.el5_9
Fixed · RHSA-2013:0685
Red Hat Enterprise Linux 6
perl-4:5.10.1-130.el6_4
Fixed · RHSA-2013:0685
Red Hat Enterprise Linux 4
perl
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | perl-4:5.8.8-40.el5_9 | Fixed | RHSA-2013:0685 |
| Red Hat Enterprise Linux 6 | perl-4:5.10.1-130.el6_4 | Fixed | RHSA-2013:0685 |
| Red Hat Enterprise Linux 4 | perl | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.88% (0.04877) | 91.78th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.88% (0.04877) | 90.90th | v5 (v2026.06.15) |
| Feb 27, 2026 | 5.28% (0.05279) | 89.81th | v4 (v2025.03.14) |
| Dec 28, 2025 | 6.45% (0.06450) | 90.74th | v4 (v2025.03.14) |
| Dec 27, 2025 | 2.74% (0.02738) | 85.59th | v4 (v2025.03.14) |
| Oct 28, 2025 | 6.45% (0.06450) | 90.63th | v4 (v2025.03.14) |
| Oct 27, 2025 | 2.74% (0.02738) | 85.46th | v4 (v2025.03.14) |
| Oct 1, 2025 | 6.45% (0.06450) | 90.72th | v4 (v2025.03.14) |
| Jul 13, 2025 | 3.64% (0.03642) | 87.34th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.75% (0.01745) | 80.86th | v4 (v2025.03.14) |
| Mar 29, 2025 | 7.15% (0.07151) | 85.61th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.75% (0.01745) | 81.28th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.92% (0.01917) | 89.07th | v3 (v2023.03.01) |
| Jan 11, 2024 | 1.92% (0.01917) | 87.32th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.44% (0.02441) | 88.28th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.23% (0.04229) | 87.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.23% (0.04229) | 86.19th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.23% (0.04229) | 69.94th | v2 (v2022.01.01) |
References (20)
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673 x_refsource_CONFIRM
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 x_refsource_CONFIRM
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735 x_refsource_CONFIRM
- http://perl5.git.perl.org/perl.git/commit/2709980d5a193ce6f3a16f0d19879a6560dcde44 x_refsource_CONFIRMPatchVendor Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0685.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/51457 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/55314 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2012/dsa-2586 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:113 vendor-advisoryx_refsource_MANDRIVA
- http://www.nntp.perl.org/group/perl.perl5.porters/2012/10/msg193886.html mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2012/10/26/2 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2012/10/27/1 mailing-listx_refsource_MLIST
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/56287 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-1643-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2012-5195 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=862413 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2012-5195
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0352 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2012-5195
Change history (0)
No recorded changes yet.