Vulnerability in Curl
CVE-2025-13034
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 class: Improper Certificate Validation
EPSS: 0.002 (13.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
Affected products
Weakness classification (CWE)
References
- 2499f714-1537-4658-8207-48ae4bb9eae9 (Vendor Advisory)
- 2499f714-1537-4658-8207-48ae4bb9eae9 (Patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-13034?
- CVE-2025-13034 is a medium-severity vulnerability in Curl, classified under Improper Certificate Validation. CVSS score: 5.9/10. Published 2026-01-08.
- How severe is CVE-2025-13034?
- Medium severity. CVSS v3 base score is 5.9 out of 10.