# CVE-2023-29197: php-nyholm-psr7: guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP

CVE-2023-29197 is fixed in 2 products on 1 platform, first by php-guzzlehttp-psr7 1.4.2-0.1+deb10u2build0.20.04.1, released April 17, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-29197
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0122
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 17, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | php-guzzlehttp-psr7 Debian 12.15 (bookworm) | 2.4.5-1 | [DEBIAN-CVE-2023-29197](https://patchblox.com/security/data/fix/linux/debian-cve-2023-29197.md) | Apr 17, 2023 |
| Linux | php-guzzlehttp-psr7 Debian 13.5 (trixie) | 2.4.5-1 | [DEBIAN-CVE-2023-29197](https://patchblox.com/security/data/fix/linux/debian-cve-2023-29197.md) | Apr 17, 2023 |
| Linux | php-guzzlehttp-psr7 Debian 14 | 2.4.5-1 | [DEBIAN-CVE-2023-29197](https://patchblox.com/security/data/fix/linux/debian-cve-2023-29197.md) | Apr 17, 2023 |
| Linux | php-guzzlehttp-psr7 Ubuntu 20.04 LTS (focal) | 1.4.2-0.1+deb10u2build0.20.04.1 | [php-guzzlehttp-psr7 1.4.2-0.1+deb10u2build0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-php-guzzlehttp-psr7-1.4.2-0.1-deb10u2build0.20.04.1.md) | Apr 17, 2023 |
| Linux | php-guzzlehttp-psr7 Ubuntu 22.04.1 LTS (jammy) | 1.8.3-1ubuntu0.1~esm1 | [php-guzzlehttp-psr7 1.8.3-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-php-guzzlehttp-psr7-1.8.3-1ubuntu0.1-esm1.md) | Apr 17, 2023 |
| Linux | php-nyholm-psr7 Debian 12.15 (bookworm) | 1.5.1-2 | [DEBIAN-CVE-2023-29197](https://patchblox.com/security/data/fix/linux/debian-cve-2023-29197.md) | Apr 17, 2023 |
| Linux | php-nyholm-psr7 Debian 13.5 (trixie) | 1.5.1-2 | [DEBIAN-CVE-2023-29197](https://patchblox.com/security/data/fix/linux/debian-cve-2023-29197.md) | Apr 17, 2023 |
| Linux | php-nyholm-psr7 Debian 14 | 1.5.1-2 | [DEBIAN-CVE-2023-29197](https://patchblox.com/security/data/fix/linux/debian-cve-2023-29197.md) | Apr 17, 2023 |
| Linux | php-nyholm-psr7 Ubuntu 22.04.1 LTS (jammy) | 1.5.0-1ubuntu0.1~esm1 | [php-nyholm-psr7 1.5.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-php-nyholm-psr7-1.5.0-1ubuntu0.1-esm1.md) | Apr 17, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
