SecurityContext

CVE-2025-5025: libcurl - Misconfiguration

  • Cve: CVE-2025-5025
  • Name: libcurl - Misconfiguration
  • Description: libcurl supports *pinning* of the server certificate public key for HTTPS transfers. Due to an omission, this check is not performed when connecting with QUIC for HTTP/3, when the TLS backend is wolfSSL. Documentation says the option works with wolfSSL, failing to specify that it does not for QUIC and HTTP/3. Since pinning makes the transfer succeed if the pin is fine, users could unwittingly connect to an impostor server without noticing.
  • Impact: Users may unknowingly connect to impostor servers, risking data interception or manipulation.
  • Remediation: Update libcurl or wolfSSL to versions that correctly enforce pinning for QUIC and HTTP/3 or apply patches addressing this issue.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: man_in_the_middle
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00306
  • Epss percentile: 0.23747
  • Assignee: 2499f714-1537-4658-8207-48ae4bb9eae9
  • Published at: 2025-05-28T07:15:24Z
  • Age in days: 545
  • Modified at: 2026-06-17T09:47:03Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-5025
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-295Improper Certificate Validation

Hackerone

  • Reports: 2
  • Rank: 3806

Public exploits

UrlSourceAdded date
https://hackerone.com/reports/3153497nvd2025-05-28
https://github.com/KiPhuong/cve-2025-5025poc-in-github2025-07-22

References

Same in every row:

  • Source: nvd
UrlTags
https://curl.se/docs/CVE-2025-5025.htmlVendor Advisory
https://curl.se/docs/CVE-2025-5025.jsonVendor Advisory
https://hackerone.com/reports/3153497Exploit, Issue Tracking, Third Party Advisory
http://www.openwall.com/lists/oss-security/2025/05/28/5Mailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
haxx:curl>= 8.5.0, < 8.14.0nonvd/v1/products/haxx/curl

Projects

RepositoryLink kindsIndexedUrl
curl/curlfixyes/v1/repositories/curl/curl

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2025-05-28
  • Remote: yes
  • Hackerone reports: 2
  • 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, exposed hosts