CVE-2025-9086 Details
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.
A vulnerability exists in curl's cookie management that can lead to an out-of-bounds read. This issue arises when a secure cookie set over HTTPS is inadvertently overwritten by a non-secure cookie from the same domain via HTTP. The flaw is caused by incorrect path comparison logic, which allows the clear-text cookie to replace the secure one, contrary to expected behavior. The vulnerability has been introduced in curl version 7.31.0 and exists in all versions up to and including 8.15.0.
Users are advised to upgrade to curl version 8.16.0, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-089022.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-253495.html | siemens-SADP | |
| https://curl.se/docs/CVE-2025-9086.html | curl | PatchVendor Advisory |
| https://curl.se/docs/CVE-2025-9086.json | curl | Vendor Advisory |
| https://hackerone.com/reports/3294999 | curl | ExploitIssue TrackingThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2026/01/msg00002.html | CVE | Mailing ListThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2025/09/10/1 | CVE | Mailing ListPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-125 | Out-of-bounds Read | curl |
Affected Products
| Product | Versions |
|---|---|
| haxx curl | >= 8.13.0, < 8.16.0 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
13 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | curl |
| Sep 14, 2026 | CVE Modified | siemens-SADP |
| Sep 14, 2026 | CVE Modified | CVE |
| Jun 17, 2026 | CVE Modified | curl |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 2, 2026 | CVE Modified | siemens-SADP |
| Jan 20, 2026 | Initial Analysis | [email protected] |
| Jan 8, 2026 | CVE Modified | curl |
| Jan 5, 2026 | CVE Modified | CVE |
| Nov 4, 2025 | CVE Modified | CVE |
| Sep 12, 2025 | CVE Modified | CISA-ADP |
| Sep 12, 2025 | New CVE Received | curl |