CVE-2025-13034
Discovered by AISLEPUBLISHEDCWE-295 Improper Certificate Validation
Description
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.
CVSS Base Scores
CVSS v3.1(Primary)
5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected Products
| Vendor | Product | Version | Status |
|---|---|---|---|
| curl | curl | 8.17.0 | affected |
| curl | curl | 8.16.0 | — |
| curl | curl | 8.15.0 | — |
| curl | curl | 8.14.1 | — |
| curl | curl | 8.14.0 | — |
| curl | curl | 8.13.0 | — |
| curl | curl | 8.12.1 | — |
| curl | curl | 8.12.0 | — |
| curl | curl | 8.11.1 | — |
| curl | curl | 8.11.0 | — |
| curl | curl | 8.10.1 | — |
| curl | curl | 8.10.0 | — |
| curl | curl | 8.9.1 | — |
| curl | curl | 8.9.0 | — |
| curl | curl | 8.8.0 | — |
Credits
- Stanislav Fort (Aisle Research)(finder)
- Daniel Stenberg(remediation developer)