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.

Advisories in Ubuntu

  • 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 24 November 2026
  • USN-6670-1

    php-guzzlehttp-psr7 vulnerabilities

    CVE-2022-24775CVE-2023-29197 Ubuntu Updated 24 November 2026
  • USN-6671-1

    php-nyholm-psr7 vulnerability

    CVE-2023-29197 Ubuntu Updated 24 November 2026

References