CVE-2025-9086 Out of bounds read for cookie path
HighCVSS 7.5
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
Description
- A cookie is set using the
securekeyword forhttps://target - curl is redirected to or otherwise made to speak with
http://target(same
hostname, but using clear text HTTP) using the same cookie set - 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. - 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
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux curl(Azure Linux:3.0) | All versions | No fix listed |
| cbl-mariner cmake(CBL-Mariner:2.0) | All versions | No fix listed |
| cbl-mariner curl(CBL-Mariner:2.0) | All versions | No fix listed |
| oracle MySQL(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux cmake(Azure Linux:3.0) | All versions | No fix listed |
| cbl-mariner rust(CBL-Mariner:2.0) | All versions | No fix listed |
| debian/curl(Debian:13) | < 8.14.1-2+deb13u1 | 8.14.1-2+deb13u1 |
| debian/curl(Debian:13) | = 8.14.1-2 | No fix listed |
| debian/curl(Debian:14) | < 8.16.0~rc2-1 | 8.16.0~rc2-1 |
| debian/curl(Debian:14) | = 8.14.1-2 | No fix listed |
| debian/curl(Debian:14) | = 8.14.1-2+exp1 | No fix listed |
| debian/curl(Debian:14) | = 8.15.0-1 | No fix listed |
| debian/curl(Debian:14) | = 8.15.0-1~bpo13+1 | No fix listed |
| debian/curl(Debian:14) | = 8.15.0-1~exp1 | No fix listed |
| debian/curl(Debian:14) | = 8.15.0~rc1-1exp1 | No fix listed |
| debian/curl(Debian:14) | = 8.15.0~rc2-1~exp1 | No fix listed |
| debian/curl(Debian:14) | = 8.15.0~rc3-1~exp1 | No fix listed |
| debian/curl(Debian:14) | = 8.16.0~rc1-1~exp1 | No fix listed |
| curl | >= 8.13.0, < 8.14.2 | 8.14.2 |
| curl | >= 8.15.0, < 8.16.0 | 8.16.0 |
| curl | >= 1aea05a6c2699e80c75936d58569851555acd603, < c6ae07c6a541e0e96d0040afb62b45dd37711300 | c6ae07c6a541e0e96d0040afb62b45dd37711300 |
| curl | = 8.15.0 | No fix listed |
| curl | = 8.14.1 | No fix listed |
| curl | = 8.14.0 | No fix listed |
| curl | = 8.13.0 | No fix listed |
Show 25 more
| Product | Affected versions | Fixed in |
|---|---|---|
| Siemens RUGGEDCOM RST2428P | < V3.3 | V3.3 |
| Siemens RUGGEDCOM RST2428P | < V4.0 | V4.0 |
| Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.3 | V3.3 |
| Siemens SCALANCE XCH328 | < V3.3 | V3.3 |
| Siemens SCALANCE XCM324 | < V3.3 | V3.3 |
| Siemens SCALANCE XCM328 | < V3.3 | V3.3 |
| Siemens SCALANCE XCM332 | < V3.3 | V3.3 |
| Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (230 V AC, 12xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (230 V AC, 8xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (24 V DC, 12xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (24 V DC, 8xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | V3.3 |
| alpine/curl(Alpine:v3.19) | >= 8.13.0, < 8.14.1-r2 | 8.14.1-r2 |
| alpine/curl(Alpine:v3.20) | >= 8.13.0, < 8.14.1-r2 | 8.14.1-r2 |
| alpine/curl(Alpine:v3.21) | >= 8.13.0, < 8.14.1-r2 | 8.14.1-r2 |
| alpine/curl(Alpine:v3.22) | >= 8.13.0, < 8.14.1-r2 | 8.14.1-r2 |
| alpine/curl(Alpine:v3.23) | >= 8.13.0, < 8.16.0-r0 | 8.16.0-r0 |
| alpine/curl(Alpine:v3.24) | >= 8.13.0, < 8.16.0-r0 | 8.16.0-r0 |
| haxx curl | >= 8.13.0, < 8.16.0 | 8.16.0 |
| debian linux | = 11.0 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Debian Security Tracker CVE-2025-9086 vendor-advisory
- curl.se vendor-advisory
- curl.se patch vendor-advisory
- hackerone.com exploit issue-tracking third-party-advisory
- www.openwall.com mailing-list patch third-party-advisory
- lists.debian.org mailing-list third-party-advisory
- cert-portal.siemens.com
- cert-portal.siemens.com
- security.alpinelinux.org vendor-advisory