CVE-2025-9086
Out of bounds read for cookie path
Reported by curl · Published September 12, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libcurl | Amazon Linux | 8.15.0-4.amzn2023.0.1, 8.3.0-1.amzn2.0.10 |
| libcurl-devel | Amazon Linux | 8.15.0-4.amzn2023.0.1, 8.3.0-1.amzn2.0.10 |
| curl | Alpine | 8.16.0-r0, 8.14.1-r2 |
| libcurl-minimal | Amazon Linux | 8.15.0-4.amzn2023.0.1 |
| curl | haxx | 8.16.0 |
| SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | Siemens | 3.3 |
| SCALANCE XRM334 (24 V DC, 8xFO) | Siemens | 3.3 |
| SCALANCE XRM334 (2x230 V AC, 8xFO) | Siemens | 3.3 |
| SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | Siemens | 3.3 |
| SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | Siemens | 3.3 |
| SCALANCE XRM334 (230 V AC, 12xFO) | Siemens | 3.3 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Siemens | 3.3 |
7 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| curl | curl | 8.13.0, 8.15.0 |
| curl | curl | 1aea05a6c2699e80c75936d58569851555acd603 |
| curl | curl | 8.15.0, 8.14.1, 8.14.0 |
| Siemens | SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| amazon:2023 | libcurl | 0 |
| amazon:2023 | libcurl-devel | 0 |
| Siemens | SCALANCE XRM334 (24 V DC, 8xFO) | 0 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 8xFO) | 0 |
| Siemens | SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | SCALANCE XRM334 (230 V AC, 12xFO) | 0 |
| amazon:2 | libcurl | 0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 12xFO) | 0 |
| Siemens | SCALANCE XRM334 (24 V DC, 12xFO) | 0 |
| Siemens | SCALANCE XCM332 | 0 |
| Siemens | SCALANCE XCH328 | 0 |
| amazon:2 | libcurl-devel | 0 |
| Siemens | SCALANCE XRH334 (24 V DC, 8xFO, CC) | 0 |
| alpine | curl | 0, 0 |
…and 9 more
Timeline
- Sep 10, 2025 PoC Published (2 in total, the first dated here)
- Sep 12, 2025 EPSS Score (30 in total, the first dated here)
- Sep 12, 2025 CVE Published
- Mar 17, 2026 Security Advisory (35 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (26 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-9086
vulnetix vdb fixes CVE-2025-9086
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-9086/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart