CVE-2026-55766guzzlehttp/psr7: CRLF Injection in HTTP Start-Line Serialization
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.
What to do
Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | php-guzzlehttp-psr7 | Under investigation | UBUNTU-CVE-2026-55766 | |
| Ubuntu 25.10 | php-guzzlehttp-psr7 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-55766 | |
| Ubuntu 24.04 | php-guzzlehttp-psr7 | Under investigation | UBUNTU-CVE-2026-55766 | |
| Ubuntu 22.04 | php-guzzlehttp-psr7 | Fix pending | UBUNTU-CVE-2026-55766 | |
| Ubuntu 20.04 | php-guzzlehttp-psr7 | Fix pending | UBUNTU-CVE-2026-55766 | |
| Ubuntu 16.04 | php-guzzlehttp-psr7 | Fix pending | UBUNTU-CVE-2026-55766 | |
| Debian 14 | php-guzzlehttp-psr7 | Fixed | 2.12.1-1 | DEBIAN-CVE-2026-55766 |
| Debian 13 | php-guzzlehttp-psr7 | Fixed | 2.7.1-1+deb13u2 | DEBIAN-CVE-2026-55766 |
| Debian 12 | php-guzzlehttp-psr7 | Fix pending | DEBIAN-CVE-2026-55766 | |
| Packagist library | guzzlehttp/psr7 | Fixed | 2.12.1 | GHSA-vm85-hxw5-5432 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- guzzle psr7: affected: < 2.12.1
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.