CVE-2012-5195

Summary

CVECVE-2012-5195
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-12-18 00:55:01 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionHeap-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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Perl Perl 5.12.0 All All All
Application Perl Perl 5.12.0 rc0 All All
Application Perl Perl 5.12.0 rc1 All All
Application Perl Perl 5.12.0 rc2 All All
Application Perl Perl 5.12.0 rc3 All All
Application Perl Perl 5.12.0 rc4 All All
Application Perl Perl 5.12.0 rc5 All All
Application Perl Perl 5.12.1 All All All
Application Perl Perl 5.12.1 rc1 All All
Application Perl Perl 5.12.1 rc2 All All
Application Perl Perl 5.12.2 All All All
Application Perl Perl 5.12.2 rc1 All All
Application Perl Perl 5.12.3 All All All
Application Perl Perl 5.12.3 rc1 All All
Application Perl Perl 5.12.3 rc2 All All
Application Perl Perl 5.12.3 rc3 All All
Application Perl Perl 5.12.4 All All All
Application Perl Perl 5.14.0 All All All
Application Perl Perl 5.14.0 rc1 All All
Application Perl Perl 5.14.0 rc2 All All
Application Perl Perl 5.14.0 rc3 All All
Application Perl Perl 5.14.1 All All All
Application Perl Perl 5.14.2 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
maint-5.12, maint-5.14, and CVE-2012-5195 - nntp.perl.org af854a3a-2127-422b-91ae-364da2661108 www.nntp.perl.org
Support/Advisories/MGASA-2012-0352 - Mageia wiki af854a3a-2127-422b-91ae-364da2661108 wiki.mageia.org
Oracle VM Server for x86 Bulletin - July 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Juniper Networks - 2015-04 Security Bulletin: IDP: Multiple vulnerabilities addressed by third party software updates. af854a3a-2127-422b-91ae-364da2661108 kb.juniper.net
oss-security - Re: Medium severity flaw with Perl 5 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Support / Security / Advisories / / MDVSA-2013:113 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
oss-security - Medium severity flaw with Perl 5 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
perl5.git.perl.org Git af854a3a-2127-422b-91ae-364da2661108 perl5.git.perl.org Patch, Vendor Advisory
USN-1643-1: Perl vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Juniper Networks - 2015-10 Security Bulletin: CTPView: Multiple Vulnerabilities in CTPView af854a3a-2127-422b-91ae-364da2661108 kb.juniper.net
2016-04 Security Bulletin: CTP Series: Multiple vulnerabilities in CTP Series - Juniper Networks af854a3a-2127-422b-91ae-364da2661108 kb.juniper.net
Perl CVE-2012-5195 Heap-Based Memory Corruption Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Security Advisory SA55314 - Oracle Solaris Perl Multiple Vulnerabilities - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Debian -- Security Information -- DSA-2586-1 perl af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report