CVE catalog

CVE-2026-55766

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Prior to 2.12.1, guzzlehttp/psr7 did not reject CR/LF characters in certain first-party HTTP start-line fields: the request metho

[CVE catalog]

Severity
Medium · CVSS 4.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.23% · Oct 25, 2026

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Prior to 2.12.1, guzzlehttp/psr7 did not reject CR/LF characters in certain first-party HTTP start-line fields: the request method, protocol version, and response reason phrase. If an application placed attacker-controlled data into one of those fields and later serialized the PSR-7 message as raw HTTP/1.x, for example with Message::toString() or an equivalent serializer, the serialized message could contain attacker-controlled header lines. The issue can also be reached through Message::parseRequest() or Message::parseResponse() when malformed raw messages are parsed into first-party PSR-7 objects and then serialized again. Creating or modifying a Request, Response, or other PSR-7 object alone is not sufficient. The issue requires the malformed message to be serialized and written to the network, forwarded, replayed, or otherwise processed by software that does not independently reject the malformed start line. This vulnerability is fixed in 2.12.1.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphp-guzzlehttp-psr7sid2.13.1-1fixed
Debianphp-guzzlehttp-psr7forky2.13.1-1fixed
Debianphp-guzzlehttp-psr7trixie2.7.1-1+deb13u2fixed
Debianphp-guzzlehttp-psr7bookworm2.4.5-1+deb12u1vulnerable
Cpephp-guzzlehttp-psr7Not reportedNot reportedvulnerable
Cpepsr-7Not reported2.12.1fixed
Ubuntuphp-guzzlehttp-psr716.041.1.0-1vulnerable
Ubuntuphp-guzzlehttp-psr716.041.2.0-1vulnerable
Ubuntuphp-guzzlehttp-psr716.041.2.1-1vulnerable
Ubuntuphp-guzzlehttp-psr716.041.2.2-1vulnerable
Ubuntuphp-guzzlehttp-psr716.041.2.2-1build1vulnerable
Ubuntuphp-guzzlehttp-psr716.041.2.2-1ubuntu1vulnerable
Ubuntuphp-guzzlehttp-psr720.041.4.2-0.1vulnerable
Ubuntuphp-guzzlehttp-psr720.041.4.2-0.1+deb10u2build0.20.04.1vulnerable
Ubuntuphp-guzzlehttp-psr7pro1.7.0-1vulnerable
Ubuntuphp-guzzlehttp-psr7pro1.8.3-1vulnerable
Ubuntuphp-guzzlehttp-psr7pro1.8.3-1ubuntu0.1~esm1vulnerable
Ubuntuphp-guzzlehttp-psr724.042.6.0-1vulnerable
Ubuntuphp-guzzlehttp-psr724.042.6.1-1vulnerable
Ubuntuphp-guzzlehttp-psr724.042.6.2-1vulnerable
Ubuntuphp-guzzlehttp-psr725.102.7.0-3vulnerable
Ubuntuphp-guzzlehttp-psr725.102.7.1-1vulnerable
Ubuntuphp-guzzlehttp-psr726.042.7.1-1vulnerable
Ubuntuphp-guzzlehttp-psr726.042.8.0-1vulnerable
Ubuntuphp-guzzlehttp-psr726.042.8.0-2vulnerable
Cpepsr-7Not reported2.12.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-guzzlehttp-psr7sourcesid2.12.1-1not yet assignedNot reportedNot reported
Debianphp-guzzlehttp-psr7sourceforky2.12.1-1not yet assignedNot reportedNot reported
Debianphp-guzzlehttp-psr7sourcetrixie2.7.1-1+deb13u2not yet assignedNot reportedNot reported
Debianphp-guzzlehttp-psr7sourcebookworm(unfixed)not yet assignedNot reportedNot reported
Cpepsr-7cpeNot reported2.12.1Not reportedNot reportedNot reported
Cpepsr-7cpeNot reported2.12.1Not reportedNVD-CVE-2026-55766Not reported

Notes

[bookworm] php-guzzlehttp-psr7: Minor issue; CR/LF accepted in method/protocol-version/reason-phrase

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.4.5-1+deb12u1 · all · bookworm

      Affected

      nvd · php-guzzlehttp-psr7 · debian · bookworm; nvd · php-guzzlehttp-psr7 · debian · 12

    • 2.4.5-1+deb12u1 · all · bookworm

      Affected

      nvd · php-guzzlehttp-psr7 · debian · bookworm; nvd · php-guzzlehttp-psr7 · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 2.7.1-1+deb13u1 · all · trixie

      Affected · Fixed: 2.7.1-1+deb13u2

      nvd · php-guzzlehttp-psr7 · debian · 13

    • 2.7.1-1+deb13u1 · all · trixie

      Affected · Fixed: 2.7.1-1+deb13u2

      nvd · php-guzzlehttp-psr7 · debian · 13

Observed:

References