Improperly Controlled Sequential Memory Allocation Affecting guzzlehttp/guzzle package, versions <7.15.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (17th 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 IDSNYK-PHP-GUZZLEHTTPGUZZLE-18306780
  • published25 Jul 2026
  • disclosed20 Jul 2026
  • creditUnknown

Introduced: 20 Jul 2026

CVE-2026-67353  (opens in a new tab)
CWE-1325  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade guzzlehttp/guzzle to version 7.15.1 or higher.

Overview

Affected versions of this package are vulnerable to Improperly Controlled Sequential Memory Allocation via the CookieJar process. An attacker can exhaust system memory and cause service disruption by sending a large number of oversized Set-Cookie headers in responses, which are then stored and included in subsequent requests without proper limits. This can lead to increased memory usage, processing delays, and potential request failures when header size limits are exceeded in downstream systems. This is only exploitable if built-in cookie support is enabled, attacker-controlled responses are received, and the same jar is retained or reused.

Workaround

This vulnerability can be mitigated by not enabling a shared built-in cookie jar for requests to untrusted origins, using separate jars per host or trust boundary, disabling cookie handling for untrusted requests, discarding or clearing a jar after receiving an untrusted response, or providing a custom CookieJarInterface implementation that enforces suitable limits.

CVSS Base Scores

version 4.0
version 3.1