perl-CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P headers
Published Nov 21, 2012
5.0
MEDIUMCVSS 2.0
EPSS 3.26%
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.
Affected products
No data.
- ≤ 3.62
No data.
Red Hat Enterprise Linux 5
perl-4:5.8.8-40.el5_9
Fixed · RHSA-2013:0685
Red Hat Enterprise Linux 6
perl-4:5.10.1-130.el6_4
Fixed · RHSA-2013:0685
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | perl-4:5.8.8-40.el5_9 | Fixed | RHSA-2013:0685 |
| Red Hat Enterprise Linux 6 | perl-4:5.10.1-130.el6_4 | Fixed | RHSA-2013:0685 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.26% (0.03261) | 87.96th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.26% (0.03261) | 86.72th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.72% (0.01720) | 80.71th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.01% (0.04010) | 80.45th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.72% (0.01720) | 81.15th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.79% (0.00787) | 82.17th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.79% (0.00787) | 80.88th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.79% (0.00787) | 78.72th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.78% (0.03779) | 85.48th | v2 (v2022.01.01) |
| Feb 13, 2023 | 3.78% (0.03779) | 85.08th | v2 (v2022.01.01) |
| Feb 3, 2023 | 2.69% (0.02686) | 82.44th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.78% (0.03779) | 84.01th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.78% (0.03779) | 67.21th | v2 (v2022.01.01) |
References (18)
- http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes x_refsource_CONFIRM
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 x_refsource_CONFIRM
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735 x_refsource_CONFIRM
- http://rhn.redhat.com/errata/RHSA-2013-0685.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/51457 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/55314 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2012/dsa-2586 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2012/11/15/6 mailing-listx_refsource_MLIST
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/56562 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id?1027780 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-1643-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2012-5526 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=877015 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80098 vdb-entryx_refsource_XF
- https://github.com/markstos/CGI.pm/pull/23 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2012-5526
- https://www.cve.org/CVERecord?id=CVE-2012-5526
Change history (0)
No recorded changes yet.