CVE-2012-5195
HIGH 7.5CVSS 2.0Heap-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
- 18 Dec 2012
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.0:*:*:*:*:*:*:* |
= 5.12.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.0:rc0:*:*:*:*:*:* |
= 5.12.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.0:rc1:*:*:*:*:*:* |
= 5.12.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.0:rc2:*:*:*:*:*:* |
= 5.12.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.0:rc3:*:*:*:*:*:* |
= 5.12.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.0:rc4:*:*:*:*:*:* |
= 5.12.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.0:rc5:*:*:*:*:*:* |
= 5.12.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.1:*:*:*:*:*:*:* |
= 5.12.1 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.1:rc1:*:*:*:*:*:* |
= 5.12.1 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.1:rc2:*:*:*:*:*:* |
= 5.12.1 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.2:*:*:*:*:*:*:* |
= 5.12.2 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.2:rc1:*:*:*:*:*:* |
= 5.12.2 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.3:*:*:*:*:*:*:* |
= 5.12.3 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.3:rc1:*:*:*:*:*:* |
= 5.12.3 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.3:rc2:*:*:*:*:*:* |
= 5.12.3 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.3:rc3:*:*:*:*:*:* |
= 5.12.3 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.12.4:*:*:*:*:*:*:* |
= 5.12.4 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.14.0:*:*:*:*:*:*:* |
= 5.14.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.14.0:rc1:*:*:*:*:*:* |
= 5.14.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.14.0:rc2:*:*:*:*:*:* |
= 5.14.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.14.0:rc3:*:*:*:*:*:* |
= 5.14.0 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.14.1:*:*:*:*:*:*:* |
= 5.14.1 | |
| NVD | perl | perlcpe:2.3:a:perl:perl:5.14.2:*:*:*:*:*:*:* |
= 5.14.2 |
References
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735
- http://perl5.git.perl.org/perl.git/commit/2709980d5a193ce6f3a16f0d19879a6560dcde44 · Patch, Vendor Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0685.html
- http://secunia.com/advisories/51457 · Vendor Advisory
- http://secunia.com/advisories/55314
- http://www.debian.org/security/2012/dsa-2586
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:113
- http://www.nntp.perl.org/group/perl.perl5.porters/2012/10/msg193886.html
- http://www.openwall.com/lists/oss-security/2012/10/26/2
- http://www.openwall.com/lists/oss-security/2012/10/27/1
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- http://www.securityfocus.com/bid/56287
- http://www.ubuntu.com/usn/USN-1643-1
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0352
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 18 Dec 2012)