{"id":"CVE-2025-9086","published":"2025-09-12T05:10:03Z","modified":"2026-09-15T06:02:35Z","title":"Out of bounds read for cookie path","vendor":"curl","product":"curl","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01463,"percentile":0.74266,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://curl.se/docs/CVE-2025-9086.json","tags":[]},{"url":"https://curl.se/docs/CVE-2025-9086.html","tags":[]},{"url":"https://hackerone.com/reports/3294999","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/09/10/1","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00002.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-089022.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":14.85},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"curl","affectedVersions":[{"vendor":"curl","product":"curl","versions":[">= 8.13.0, < 8.14.2",">= 8.15.0, < 8.16.0"]},{"vendor":"curl","product":"curl","versions":[">= 1aea05a6c2699e80c75936d58569851555acd603, < c6ae07c6a541e0e96d0040afb62b45dd37711300"]},{"vendor":"curl","product":"curl","versions":["8.15.0","8.14.1","8.14.0","8.13.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-12T17:15:47.921625Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-29014","exploited":false,"provenance":"source"}}