CVE-2012-5526
CGI.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
02 Description
CGI.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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.26% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 88.3% of scored records. A rank, not a probability.
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-16.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2012-11-21 23:00Z13 YR AGO
- Last updated
- 2024-08-06 21:05Z2 YR AGO
- Reserved
- 2012-10-24
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 8371d3614ea021be58ef85979d61c9035a1e67d188dbd132ecb22649e65d5bcf
05 Affected products
06 References
- www.oracle.comhttp://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- exchange.xforce.ibmcloud.comperl-cgipm-header-injection(80098)https://exchange.xforce.ibmcloud.com/vulnerabilities/80098
- secunia.com55314http://secunia.com/advisories/55314
- www.securityfocus.com56562http://www.securityfocus.com/bid/56562
- cpansearch.perl.orghttp://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes
- www.ubuntu.comUSN-1643-1http://www.ubuntu.com/usn/USN-1643-1
- www.securitytracker.com1027780http://www.securitytracker.com/id?1027780
- www.debian.orgDSA-2586http://www.debian.org/security/2012/dsa-2586
- rhn.redhat.comRHSA-2013:0685http://rhn.redhat.com/errata/RHSA-2013-0685.html
- kb.juniper.nethttp://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- github.comhttps://github.com/markstos/CGI.pm/pull/23
- www.openwall.com[oss-security] 20121115 Re: CVE Request -- perl-CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P headershttp://www.openwall.com/lists/oss-security/2012/11/15/6
- secunia.com51457http://secunia.com/advisories/51457
- kb.juniper.nethttp://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735
07 Fixed in
Debian 12
- libcgi-pm-perl Fixed in 3.61-2
- perl Fixed in 5.14.2-16
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libcgi-pm-perl Fixed in 3.61-2
- perl Fixed in 5.14.2-16
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libcgi-pm-perl Fixed in 3.61-2
- perl Fixed in 5.14.2-16
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.