CVE-2025-13034
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Summary
When using CURLOPT_PINNEDPUBLICKEY option with libcurl or --pinnedpubkey
with the curl tool,curl should check the public key of the server certificate
to verify the peer.
This check was skipped in a certain condition that would then make curl allow the connection without performing the proper check, thus not noticing a possible impostor. To skip this check, the connection had to be done with QUIC with ngtcp2 built to use GnuTLS and the user had to explicitly disable the standard certificate verification.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| curl | curl | 8.17.0 <= 8.17.0 | affected |
| curl | curl | 8.16.0 <= 8.16.0 | affected |
| curl | curl | 8.15.0 <= 8.15.0 | affected |
| curl | curl | 8.14.1 <= 8.14.1 | affected |
| curl | curl | 8.14.0 <= 8.14.0 | affected |
| 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 |
Weaknesses
- CWE-295 Improper Certificate Validation
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
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.