CVE-2025-13034

Severity
5.9MEDIUM
EPSS
0.0%
top 98.81%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 8
Latest updateFeb 25

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

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NExploitability: 2.2 | Impact: 3.6

Affected Packages3 packages

NVDhaxx/curl8.8.08.18.0
Debiancurl< 8.18.0~rc2-1
CVEListV5curl/curl8.17.08.17.0+14

Patches

🔴Vulnerability Details

3
GHSA
GHSA-9r76-qj98-jfhc: When using `CURLOPT_PINNEDPUBLICKEY` option with libcurl or `--pinnedpubkey` with the curl tool,curl should check the public key of the server certifi2026-01-08
CVEList
No QUIC certificate pinning with GnuTLS2026-01-08
OSV
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 certifi2026-01-08

📋Vendor Advisories

3
Ubuntu
curl vulnerabilities2026-02-25
Red Hat
curl: Public key pinning bypass via QUIC and GnuTLS allows server impersonation2026-01-07
Debian
CVE-2025-13034: curl - When using `CURLOPT_PINNEDPUBLICKEY` option with libcurl or `--pinnedpubkey` wit...2025

🕵️Threat Intelligence

1
Wiz
CVE-2025-13034 Impact, Exploitability, and Mitigation Steps | Wiz

💬Community

1
Bugzilla
CVE-2025-13034 curl: Public key pinning bypass via QUIC and GnuTLS allows server impersonation2025-12-31
CVE-2025-13034 (MEDIUM CVSS 5.9) | When using `CURLOPT_PINNEDPUBLICKEY | cvebase.io