Skip to content
7.5 High

CVE-2025-9086 1

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 products and versions

Product Affected versions Fixed in
curl 8.15.0 No fix stated
curl 8.14 8.14.0 → 8.14.1 No fix stated
curl 8.13.0 No fix stated
RUGGEDCOM RST2428P 4.0 earliest → < 4.0 4.0
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 3.3 earliest → < 3.3 3.3
SCALANCE XCH328 3.3 earliest → < 3.3 3.3
SCALANCE XCM324 3.3 earliest → < 3.3 3.3
SCALANCE XCM328 3.3 earliest → < 3.3 3.3
SCALANCE XCM332 3.3 earliest → < 3.3 3.3
Show the 10 other branches
Product Affected versions Fixed in
SCALANCE XRH334 (24 V DC, 8xFO, CC) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (230 V AC, 12xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (230 V AC, 8xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (24 V DC, 12xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (24 V DC, 8xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (2x230 V AC, 12xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (2x230 V AC, 8xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) 3.3 earliest → < 3.3 3.3

References

Timeline

  1. Published
  2. Last modified
The 98 CVEs of curl →
Track this CVE