VDB

CVE-2025-9086

CVE-2025-9086 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
libcurlAmazon Linux8.15.0-4.amzn2023.0.1, 8.3.0-1.amzn2.0.10
libcurl-develAmazon Linux8.15.0-4.amzn2023.0.1, 8.3.0-1.amzn2.0.10
curlAlpine8.16.0-r0, 8.14.1-r2
libcurl-minimalAmazon Linux8.15.0-4.amzn2023.0.1
curlhaxx8.16.0
SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)Siemens3.3
SCALANCE XRM334 (24 V DC, 8xFO)Siemens3.3
SCALANCE XRM334 (2x230 V AC, 8xFO)Siemens3.3
SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)Siemens3.3
SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)Siemens3.3
SCALANCE XRM334 (230 V AC, 12xFO)Siemens3.3
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familySiemens3.3

7 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
curlcurl8.13.0, 8.15.0
curlcurl1aea05a6c2699e80c75936d58569851555acd603
curlcurl8.15.0, 8.14.1, 8.14.0
SiemensSCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)0
amazon:2023libcurl0
amazon:2023libcurl-devel0
SiemensSCALANCE XRM334 (24 V DC, 8xFO)0
SiemensSCALANCE XRM334 (2x230 V AC, 8xFO)0
SiemensSCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSCALANCE XRM334 (230 V AC, 12xFO)0
amazon:2libcurl0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
SiemensSCALANCE XRM334 (2x230 V AC, 12xFO)0
SiemensSCALANCE XRM334 (24 V DC, 12xFO)0
SiemensSCALANCE XCM3320
SiemensSCALANCE XCH3280
amazon:2libcurl-devel0
SiemensSCALANCE XRH334 (24 V DC, 8xFO, CC)0
alpinecurl0, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›