VDB
CVE-2012-5526
CVE-2012-5526
PUBLISHED
Reported by redhat · Published November 21, 2012
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libcgi-pm-perl | Ubuntu:14.04:LTS | 3.64-1 |
| cgi.pm | andy_armstrong | 3.62 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Nov 21, 2012 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jul 16, 2025 CVE Rejected
- Jul 16, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 5, 2026 Security Advisory (3 in total, the first dated here)
- Oct 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-5526
vulnetix vdb fixes CVE-2012-5526
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-5526/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- perl-cgipm-header-injection(80098) vdb-entryx_refsource_XF
- 55314 third-party-advisoryx_refsource_SECUNIA
- 56562 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- USN-1643-1 vendor-advisoryx_refsource_UBUNTU
- 1027780 vdb-entryx_refsource_SECTRACK
- DSA-2586 vendor-advisoryx_refsource_DEBIAN
- RHSA-2013:0685 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_MISC
- [oss-security] 20121115 Re: CVE Request -- perl-CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P headers mailing-listx_refsource_MLIST
- 51457 third-party-advisoryx_refsource_SECUNIA
- x_refsource_CONFIRM