CVE-2023-29197Improper header name validation in guzzlehttp/psr7
- 5.3MediumCVSS base score
- 1.2%Exploitation in 30 daysEPSS · top 31% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Affected versions are subject to improper header parsing. An attacker could sneak in a newline (\n) into both the header names and values. While the specification states that \r\n\r\n is used to terminate the header list, many servers in the wild will also accept \n\n. This is a follow-up to CVE-2022-24775 where the fix was incomplete. The issue has been patched in versions 1.9.1 and 2.4.5. There are no known workarounds for this vulnerability. Users are advised to upgrade.
Timeline
ID reserved
By GitHub_M
- 14 days later
· 14 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.2% · top 31% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistguzzlehttp/psr7GHSA-wxmh-65f7-jcvw (opens in a new tab)
References
References7
- https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96 (opens in a new tab)x_refsource_MISCx_transferred
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/ (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2023/12/msg00028.html (opens in a new tab)x_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)
- EUVD EUVD-2023-1416 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-wxmh-65f7-jcvw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-29197)Record last updated .