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 applications that use CGI.pm.

Published: 2012-11-21 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-5526 is rated Moderate Risk (46/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.72%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-5526

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-03-30 4.01% 1.72% -2.29%
2 2025-03-29 1.72% 4.01% +2.29%
3 2025-03-17 1.72%

Full EPSS history (7 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-5526

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2012-5526

OS Trackers for CVE-2012-5526

vendor priority summary link
debian not yet assigned CVE-2012-5526 not yet assigned priority: Debian including 2 source packages (libcgi-pm-perl, perl), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 10. https://security-tracker.debian.org/tracker/CVE-2012-5526
redhat medium https://access.redhat.com/security/cve/CVE-2012-5526
ubuntu low CVE-2012-5526 low priority: Ubuntu including 2 source packages (libcgi-pm-perl, perl), 30 status rows across 15 suites (hardy, lucid, oneiric, precise, quantal, raring, saucy, trusty, upstream, utopic, vivid, wily, xenial, yakkety, zesty): not-affected 16, released 7, ignored 5, DNE 2. https://ubuntu.com/security/CVE-2012-5526

Affected software / configurations for CVE-2012-5526

Vendor Product Version Raw CPE
andy_armstrong cgi.pm <= 3.62 cpe:2.3:a:andy_armstrong:cgi.pm:*:*:*:*:*:*:*:*

References for CVE-2012-5526

cvelogic Threat Intelligence