mediumCVSS 5.3Vulnerability

GHSA-f283-ghqc-fg79

### Impact In affected versions, Guzzle's built-in `CookieJar` accepts any number of `Set-Cookie` header fields from one response, with no limit on the size of each field. When a later request matches the stored cookies, Guzzle places every match into one generated `Cookie` header without limiting the number of cookies or the total header length. A malicious or compromised server can therefore return many large cookies, causing Guzzle to store attacker-controlled data in memory and copy it into later request headers. This can increase memory use and processing time. It can also make later requests fail when the generated header exceeds a limit in a handler, HTTP implementation, proxy, or destination server. A server on one sibling host, such as `attacker.example.com`, can also set parent-domain cookies that are later selected for another sibling, such as `service.example.com`. The denial can therefore affect a different service that uses the same jar. An application is affected when it enables the built-in cookie support, receives an attacker-controlled response, and retains or reuses the jar. The issue affects both built-in handlers because Guzzle manages these cookies itself instead of using libcurl's native cookie engine. cURL addressed a similar denial-of-service issue in CVE-2022-32205 by limiting the cookies it accepts and sends, but those native limits do not protect Guzzle's separate jar. Applications that do not use cookies, use separate jars for untrusted origins, or use a third-party `CookieJarInterface` with suitable limits are not affected by this behavior. The demonstrated direct impact is limited to availability. The patch does not impose a lifetime limit on a jar built up over an unlimited number of responses or populated directly by application code. ### Patches The issue is patched in `7.15.1` and later. Starting in that release, the built-in `CookieJar` ignores a `Set-Cookie` field value longer than 8,190 bytes and applies at most 50 successf

Properties

ghsa_id
GHSA-f283-ghqc-fg79
severity
medium
summary
Guzzle: Unbounded response cookies risk denial of service
cvss_score
5.3
cve_id
GHSA-f283-ghqc-fg79
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
is_ghsa_only
true
ghsa_published
2026-07-20T23:27:02Z
source_url
https://github.com/advisories/GHSA-f283-ghqc-fg79
ghsa_updated
2026-07-20T23:27:03Z

Related Entities (5)

VULNERABLE_TO (1)

[Software]composer/guzzlehttp/guzzle

AFFECTS (1)

[Software]composer/guzzlehttp/guzzle

HAS_WEAKNESS (2)

[Weakness]Improperly Controlled Sequential Memory Allocation
[Weakness]Allocation of Resources Without Limits or Throttling

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-f283-ghqc-fg79 (CVSS 5.3) — Ninja Signal Threat Intelligence | Ninja Signal