CVE-2025-5025
4.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| curl | curl | 8.13.0 <= 8.13.0 | affected |
| curl | curl | 8.12.1 <= 8.12.1 | affected |
| curl | curl | 8.12.0 <= 8.12.0 | affected |
| curl | curl | 8.11.1 <= 8.11.1 | affected |
| curl | curl | 8.11.0 <= 8.11.0 | affected |
| curl | curl | 8.10.1 <= 8.10.1 | affected |
| curl | curl | 8.10.0 <= 8.10.0 | affected |
| curl | curl | 8.9.1 <= 8.9.1 | affected |
| curl | curl | 8.9.0 <= 8.9.0 | affected |
| curl | curl | 8.8.0 <= 8.8.0 | affected |
| curl | curl | 8.7.1 <= 8.7.1 | affected |
| curl | curl | 8.7.0 <= 8.7.0 | affected |
| curl | curl | 8.6.0 <= 8.6.0 | affected |
| curl | curl | 8.5.0 <= 8.5.0 | affected |
Weaknesses
- CWE-295 Improper Certificate Validation
ADP Enrichment
CVE Program Container
Additional References
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://curl.se/docs/CVE-2025-5025.json
- https://curl.se/docs/CVE-2025-5025.html
- https://hackerone.com/reports/3153497
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.