{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-9086","id":"CVE-2025-9086","title":"Out of bounds read for cookie path","description":"1. A cookie is set using the `secure` keyword for `https://target`\n2. curl is redirected to or otherwise made to speak with `http://target` (same\n   hostname, but using clear text HTTP) using the same cookie set\n3. The same cookie name is set - but with only a slash as path (`path=\"/\"`).\n   Since this site is not secure, the cookie *should* be ignored.\n4. A bug in the path comparison logic makes c","descriptionLong":"1. A cookie is set using the `secure` keyword for `https://target`\n2. curl is redirected to or otherwise made to speak with `http://target` (same\n   hostname, but using clear text HTTP) using the same cookie set\n3. The same cookie name is set - but with only a slash as path (`path=\"/\"`).\n   Since this site is not secure, the cookie *should* be ignored.\n4. A bug in the path comparison logic makes curl read outside a heap buffer\n   boundary\n\nThe bug either causes a crash or it potentially makes the comparison come to\nthe wrong conclusion and lets the clear-text site override the contents of the\nsecure cookie, contrary to expectations and depending on the memory contents\nimmediately following the single-byte allocation that holds the path.\n\nThe presumed and correct behavior would be to plainly ignore the second set of\nthe cookie since it was already set as secure on a secure host so overriding\nit on an insecure host should not be okay.","published":"2025-09-12T05:10:03.815Z","updated":"2026-10-28T11:06:40.136737414Z","reserved":"2025-08-16T05:40:23.800Z","status":"Modified","rejected":false,"assigner":"curl","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["curl"],"affectedProducts":[{"vendor":"curl","product":"curl","defaultStatus":"unaffected","versions":[{"version":"8.13.0","status":"affected","versionType":"semver","lessThan":"8.14.2"},{"version":"8.15.0","status":"affected","versionType":"semver","lessThan":"8.16.0"}],"platforms":[]},{"vendor":"curl","product":"curl","defaultStatus":"unaffected","versions":[{"version":"1aea05a6c2699e80c75936d58569851555acd603","status":"affected","versionType":"git","lessThan":"c6ae07c6a541e0e96d0040afb62b45dd37711300"}],"platforms":[]},{"vendor":"curl","product":"curl","defaultStatus":"unaffected","versions":[{"version":"8.15.0","status":"affected"},{"version":"8.14.1","status":"affected"},{"version":"8.14.0","status":"affected"},{"version":"8.13.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":["CURL-CVE-2025-9086"],"references":[{"url":"https://curl.se/docs/CVE-2025-9086.json","tags":["Vendor Advisory","web"]},{"url":"https://curl.se/docs/CVE-2025-9086.html","tags":["Patch","Vendor Advisory","web"]},{"url":"https://hackerone.com/reports/3294999","tags":["Exploit","Issue Tracking","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/09/10/1","tags":["Mailing List","Patch","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00002.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-089022.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9086.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9086","tags":["advisory"]},{"url":"https://github.com/curl/curl.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01463,"epssPercentile":0.74186,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-9086","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9086","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-9086","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-9086","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["curl"],"critical":[],"attention":null}