CVE-2025-9086Haxx Curl
High 7.5 No auth needed
Follow: this CVE · Haxx · Haxx Curl We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Sep 12, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Curl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| haxx | curl | ≥ 8.13.0 < 8.16.0 |
| debian | debian_linux | 11.0 |
Official advisories
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:82895 · Oct 15, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:77255 · Oct 14, 2026 High
- Multiple Vulnerabilities in SINEC OS before V4.0 · Siemens · SSA-253495 · Jun 2, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:6893 · Apr 20, 2026 High
- Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.3 · Siemens · SSA-089022 · Jan 28, 2026 Critical
Also: Red Hat (+8)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- curl.se Patch Vendor Advisory
- curl.se 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