CVE-2025-9086 in Curl and 14 more products
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.
Affects 15 products from 4 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Curl | Curl | ≥ 8.13.0, < 8.14.2 ≥ 8.15.0, < 8.16.0 |
| Debian | Debian Linux | 11.0 |
| Haxx | Curl | ≥ 8.13.0, < 8.16.0 |
| Siemens | SCALANCE XR-500 (device and firmware) | < 3.3 |
| Siemens | RUGGEDCOM RST2428P (device and firmware) | < 4.0 |
| Siemens | SCALANCE XCH328 | < 3.3 |
| Siemens | SCALANCE XCM324 | < 3.3 |
| Siemens | SCALANCE XCM328 | < 3.3 |
| Siemens | SCALANCE XCM332 | < 3.3 |
| Siemens | SCALANCE XRH334 | < 3.3 |
| Siemens | SCALANCE XRM334 | < 3.3 |
| Siemens | SCALANCE XR-300 (device and firmware) | < 3.3 |
Fix and vendor advisory
- RUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2) and 11 more: Update to V3.3 or later version
- SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family: See Section Additional Information.
Source: ICSA-26-043-06
- RUGGEDCOM RST2428P (6GK6242-6PA00): Update to V4.0 or later version
Source: ICSA-26-188-05
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2025-9086 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-035992-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-07-07 |
| Last modified | 2026-10-19 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict cookie policies and ensure that cookies set with the `secure` flag are not overridden by insecure sites. Use network security monitoring to detect and alert on suspicious cookie handling.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.