Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-9086

HIGH 7.5PoCEPSS 73%

Out of bounds read for cookie path

Mitigation

  • Upgrade curl to 8.16.0 or later.

Who should check

  • Anyone running curl >= 8.13.0, < 8.14.2; >= 8.15.0, < 8.16.0
  • Anyone running curl >= 1aea05a6c2699e80c75936d58569851555acd603, < c6ae07c6a541e0e96d0040afb62b45dd37711300
  • Anyone running curl 8.15.0; 8.14.1; 8.14.0; 8.13.0

Vulnerability facts

Affected
curl >= 8.13.0, < 8.14.2; >= 8.15.0, < 8.16.0; curl >= 1aea05a6c2699e80c75936d58569851555acd603, < c6ae07c6a541e0e96d0040afb62b45dd37711300; curl 8.15.0; 8.14.1; 8.14.0; 8.13.0
Fixed in
curl 8.14.2, curl 8.16.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
1.43% chance of exploitation in 30 days (percentile 73, 2026-11-26)
CWE
CWE-125
Published
Modified

Description

1. A cookie is set using the `secure` keyword for `https://target` 2. curl is redirected to or otherwise made to speak with `http://target` (same hostname, but using clear text HTTP) using the same cookie set 3. The same cookie name is set - but with only a slash as path (`path="/"`). Since this site is not secure, the cookie *should* be ignored. 4. A bug in the path comparison logic makes curl read outside a heap buffer boundary The bug either causes a crash or it potentially makes the comparison come to the wrong conclusion and lets the clear-text site override the contents of the secure cookie, contrary to expectations and depending on the memory contents immediately following the single-byte allocation that holds the path. The presumed and correct behavior would be to plainly ignore the second set of the cookie since it was already set as secure on a secure host so overriding it on an insecure host should not be okay.

Affected and fixed versions

Package / productAffectedFixedSource
curl>= 8.13.0, < 8.14.2; >= 8.15.0, < 8.16.0—cvelist
curl>= 1aea05a6c2699e80c75936d58569851555acd603, < c6ae07c6a541e0e96d0040afb62b45dd37711300—cvelist
curl8.15.0; 8.14.1; 8.14.0; 8.13.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-9086. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-9086.md
Affected: curl >= 8.13.0, < 8.14.2; >= 8.15.0, < 8.16.0; curl >= 1aea05a6c2699e80c75936d58569851555acd603, < c6ae07c6a541e0e96d0040afb62b45dd37711300; curl 8.15.0; 8.14.1; 8.14.0; 8.13.0
Fixed in: curl 8.14.2, curl 8.16.0

Steps:
1. Search this machine and project for curl: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-9086 being exploited?

There is no confirmed exploitation: CVE-2025-9086 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.43% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-9086?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-9086?

curl >= 8.13.0, < 8.14.2; >= 8.15.0, < 8.16.0; curl >= 1aea05a6c2699e80c75936d58569851555acd603, < c6ae07c6a541e0e96d0040afb62b45dd37711300; curl 8.15.0; 8.14.1; 8.14.0; 8.13.0.

Is there a fix for CVE-2025-9086?

Yes. Fixed in curl 8.14.2, curl 8.16.0. Upgrade curl to 8.16.0 or later.

How do I check if I'm affected by CVE-2025-9086?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors