CVE-2025-15079
Haxx Curl 7.58.0 – 8.18.0
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-15079 is a medium-severity Improper Validation of Certificate with Host Mismatch (CWE-297) vulnerability in Haxx Curl. Its CVSS base score is 5.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Protocol or Service Impersonation (T1001.003); ranked at the 47th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to SC-23 (Session Authenticity) and SC-8 (Transmission Confidentiality and Integrity) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-1575
Vulnerability Data
When doing SSH-based transfers using either SCP or SFTP, and setting the known_hosts file, libcurl could still mistakenly accept connecting to hosts *not present* in the specified file if they were added as recognized in the libssh *global* known_hosts file.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V17.2.8
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Protecting session authenticity structurally requires proper certificate validation to bind the presented certificate to the intended host.
Requiring confidentiality and integrity of transmitted data necessitates correct TLS certificate validation with host-name checking.
Security engineering principles require correct implementation of certificate validation (including hostname matching) when cryptography is used.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Protecting data-in-transit integrity depends on proper certificate validation to prevent MITM.
Secure development practices include coding correct certificate validation logic.
Server/service authentication via certificates directly requires correct host validation.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect missing certificate validation and host-mismatch checks.
A.5.27 learns from incidents that have already occurred and feeds that information into plans, risk assessments and training; it does not inspect code, exercise TLS connections, or otherwise discover the certificate-hostname validation defect itself, so it finds nothing of this weakness class.
Training can make developers aware that hostname verification is required and that pitfalls like NUL-byte handling and SAN/CN checks exist, but the weakness is an implementation defect (incorrect regex, truncation, missing checks) that training alone does not prevent — most instances arise from coding errors that require careful implementation and testing, not from ignorance of the requirement.
A.8.24 mandates the use of cryptography and key management, but it does not retroactively fix an existing hostname validation flaw in a product's certificate verification logic; the weakness remains present in the code until a developer corrects the implementation.
Secure coding practices include implementing proper certificate and hostname validation in code.
A.8.30 carries its effect through contractual requirements for secure design, coding and testing practices (8.25 to 8.29) applied to outsourced development, and CWE-297 is an ordinary software implementation weakness in certificate/hostname validation that those practices reach, the same way the CWE-134 anchor graded this clause at `partial`; the clause mandates a practice rather than a mechanism, so what it catches depends on the rigour of the supplier's implementation.