CRLF Injection Affecting guzzlehttp/psr7 package, versions <2.12.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GUZZLEHTTPPSR7-17393718
  • published22 Jun 2026
  • disclosed19 Jun 2026
  • creditIlia Alshanetsky

Introduced: 19 Jun 2026

NewCVE-2026-55766  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade guzzlehttp/psr7 to version 2.12.1 or higher.

Overview

Affected versions of this package are vulnerable to CRLF Injection in the start-line serialization of the Message class (toString, parseRequest, and parseResponse). An attacker can inject header lines and split or smuggle HTTP messages by placing CR or LF characters into the request method, protocol version, or response reason phrase, which are not rejected before the message is serialized as raw HTTP/1.x. Exploitation requires attacker-controlled data to reach one of these start-line fields and the serialized message to be processed by a downstream HTTP component, so standard client usage is unaffected while custom transports and manual serialization are.

CVSS Base Scores

version 4.0
version 3.1