CVE-2026-55766
CVE-2026-55766 · guzzlehttp/psr7: CRLF Injection in HTTP Start-Line Serialization
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 4.8 · Medium · EPSS 0.2% · Fix available
- Published
- Updated
Affected products and versions
psr7
- Versions
- < 2.12.1: Affected
No fix published
php-guzzlehttp-psr7 Debian:12
- Versions
- 2.10.3-1
- 2.10.4-1
- 2.11.0-1
- 2.12.0-1
- 2.12.1-1
- 2.12.3-1
- 2.12.4-1
- 2.12.5-1
- 2.13.0-1
- 2.13.1-1
- 2.4.5-1
- 2.4.5-1+deb12u1
- 2.5.0-1
- 2.6.0-1
- 2.6.1-1
- 2.6.2-1
- 2.6.2-2
- 2.6.2-3
- 2.7.0-1
- 2.7.0-2
- 2.7.0-3
- 2.7.1-1
- 2.8.0-1
- 2.8.0-2
- 2.9.0-1
- 2.9.0-2
- 3.0.0-1
- 3.1.0-1
- 3.2.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-guzzlehttp-psr7 Debian:13
- Versions
- 2.7.1-1
- 2.7.1-1+deb13u1
- Affected ranges
- ECOSYSTEM: < 2.7.1-1+deb13u2
Update to 2.7.1-1+deb13u2
php-guzzlehttp-psr7 Debian:14
- Versions
- 2.10.3-1
- 2.10.4-1
- 2.11.0-1
- 2.12.0-1
- 2.7.1-1
- 2.8.0-1
- 2.8.0-2
- 2.9.0-1
- 2.9.0-2
- Affected ranges
- ECOSYSTEM: < 2.12.1-1
Update to 2.12.1-1
guzzlehttp/psr7 Packagist
- Versions
- 1.0.0
- 1.1.0
- 1.2.0
- 1.2.1
- 1.2.2
- 1.2.3
- 1.3.0
- 1.3.1
- 1.4.0
- 1.4.1
- 1.4.2
- 1.5.0
- 1.5.1
- 1.5.2
- 1.6.0
- 1.6.1
- 1.7.0
- 1.8.0
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.9.0
- 1.9.1
- 2.0.0
- 2.0.0-beta1
- 2.0.0-rc1
- 2.1.0
- 2.1.1
- 2.1.2
- 2.10.0
- 2.10.1
- 2.10.2
- 2.10.3
- 2.10.4
- 2.11.0
- 2.11.1
- 2.12.0
- 2.2.0
- 2.2.1
- 2.2.2
- 2.3.0
- 2.4.0
- 2.4.1
- 2.4.2
- 2.4.3
- 2.4.4
- 2.4.5
- 2.5.0
- 2.5.1
- 2.6.0
- 2.6.1
- 2.6.2
- 2.6.3
- 2.7.0
- 2.7.1
- 2.8.0
- 2.8.1
- 2.9.0
- 2.9.1
- Affected ranges
- ECOSYSTEM: < 2.12.1
Update to 2.12.1
php-guzzlehttp-psr7 Ubuntu:16.04:LTS
- Versions
- 1.1.0-1
- 1.2.0-1
- 1.2.1-1
- 1.2.2-1
- 1.2.2-1build1
- 1.2.2-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-guzzlehttp-psr7 Ubuntu:20.04:LTS
- Versions
- 1.4.2-0.1
- 1.4.2-0.1+deb10u2build0.20.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-guzzlehttp-psr7 Ubuntu:Pro:22.04:LTS
- Versions
- 1.7.0-1
- 1.8.3-1
- 1.8.3-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-guzzlehttp-psr7 Ubuntu:24.04:LTS
- Versions
- 2.6.0-1
- 2.6.1-1
- 2.6.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-guzzlehttp-psr7 Ubuntu:25.10
- Versions
- 2.7.0-3
- 2.7.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-guzzlehttp-psr7 Ubuntu:26.04:LTS
- Versions
- 2.7.1-1
- 2.8.0-1
- 2.8.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published