CVE-2012-5526

Summary

CVECVE-2012-5526
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-11-21 23:55:02 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionCGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm.

Risk And Classification

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

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

Problem Types: CWE-16 | n/a

CVSS v2.0 Breakdown

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

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Andy Armstrong Cgi.pm All All All All

Vendor Declared Affected Products

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

References

ReferenceSourceLinkTags
Oracle VM Server for x86 Bulletin - July 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes af854a3a-2127-422b-91ae-364da2661108 cpansearch.perl.org
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com
Perl CGI.pm 'Set-Cookie' and 'P3P' Headers HTTP Header Injection Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
USN-1643-1: Perl vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
oss-security - Re: CVE Request -- perl-CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P headers af854a3a-2127-422b-91ae-364da2661108 www.openwall.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
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
github.com/markstos/CGI.pm/pull/23 af854a3a-2127-422b-91ae-364da2661108 github.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
Perl 'CGI.pm' Module Input Validation Flaw Lets Remote Users Inject Headers - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
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