Back
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…
Medium5.0EPSS 3.3%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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 applications that use CGI.pm.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 3.3% · top 12% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (14)
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- perl-cgipm-header-injection(80098) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 55314 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 56562 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-1643-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 1027780 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- DSA-2586 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2013:0685 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/markstos/CGI.pm/pull/23 (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20121115 Re: CVE Request -- perl-CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P headers (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 51457 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2012-5526)Record last updated .