ADVISORIES

Vulnerability

CVE-2023-29197

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.

6 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Ubuntu 3Debian 2Packagist 1

Advisories

  • DEBIAN-CVE-2023-29197

    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…

    CVE-2023-29197 Debian Updated 26 October 2026
  • DLA-3705-1

    php-guzzlehttp-psr7 - security update

    CVE-2023-29197 Debian Updated 20 November 2026
  • GHSA-wxmh-65f7-jcvw

    Improper header name validation in guzzlehttp/psr7

    Moderate CVE-2023-29197 Packagist Updated 4 February 2026
  • UBUNTU-CVE-2023-29197

    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…

    CVE-2023-29197 Ubuntu Updated 4 February 2026
  • USN-6670-1

    php-guzzlehttp-psr7 vulnerabilities

    CVE-2022-24775CVE-2023-29197 Ubuntu Updated 27 April 2026
  • USN-6671-1

    php-nyholm-psr7 vulnerability

    CVE-2023-29197 Ubuntu Updated 27 April 2026

References