SecurityContext

CVE-2025-9086: curl - Buffer Overflow

  • Cve: CVE-2025-9086
  • Name: curl - Buffer Overflow
  • 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.
  • Impact: Attackers can override secure cookies via HTTP, potentially leading to cookie tampering or denial of service through crashes.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01463
  • Epss percentile: 0.74163
  • Assignee: 2499f714-1537-4658-8207-48ae4bb9eae9
  • Published at: 2025-09-12T06:15:44Z
  • Age in days: 438
  • Modified at: 2026-10-19T17:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 7
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-9086
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: remediation, requirements

Cwe

IdName
CWE-125Out-of-bounds Read

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://hackerone.com/reports/3294999nvd2025-09-12

References

Same in every row:

  • Source: nvd
UrlTags
https://curl.se/docs/CVE-2025-9086.htmlPatch, Vendor Advisory
http://www.openwall.com/lists/oss-security/2025/09/10/1Mailing List, Patch, Third Party Advisory
https://curl.se/docs/CVE-2025-9086.jsonVendor Advisory
https://hackerone.com/reports/3294999Exploit, Issue Tracking, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2026/01/msg00002.htmlMailing List, Third Party Advisory
https://cert-portal.siemens.com/productcert/html/ssa-089022.html
https://cert-portal.siemens.com/productcert/html/ssa-253495.html

Products

ProductAffectedPlatform boundSourcesUrl
haxx:curl>= 8.13.0, < 8.16.0nonvd/v1/products/haxx/curl
debian:debian_linux= 11.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
curl/curlcna_commit, fixyes/v1/repositories/curl/curl

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-09-12
  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since