CVE Catalog

CVE-2025-13034

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

16th percentile - higher than 16% of all known CVEs

Summary

When using the CURLOPT_PINNEDPUBLICKEY option with libcurl or --pinnedpubkey with the curl tool, curl should check the public key of the server certificate. This check was skipped under a certain condition, allowing the connection without proper verification and failing to notice a possible impostor. The condition required a QUIC connection with ngtcp2 built with GnuTLS and explicit disabling of standard certificate verification.

Risk Assessment

Skipping public key verification enables an attacker to impersonate the server and intercept data. In environments using QUIC with GnuTLS, the MITM risk is increased.

Recommendation

Update curl/libcurl to a version where pinned public key checking is not skipped. Avoid disabling standard certificate verification for QUIC connections.

Other vulnerabilities in curl

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS