CVE-2012-5526Andy Armstrong Cgi.pm
Medium 5.0 No auth needed
Follow: this CVE · Andy Armstrong · Andy Armstrong Cgi.pm We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Nov 21, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-16
- Vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Cgi.pm.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| andy_armstrong | cgi.pm | ≤ 3.62 |
Official sources
References
Links published by the sources. Open them with care.