Vulnerability · Published Jan 8, 2026 · Assigned by curl

CVE-2025-13034No QUIC certificate pinning with GnuTLS

Medium 5.9

In plain English

A medium-severity improper certificate validation in curl from curl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.2%top 85.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21curl8.14.1-r3ALPINE-CVE-2025-13034
Alpine:v3.22curl8.14.1-r4ALPINE-CVE-2025-13034
Debian:13curl8.14.1-2+deb13u3DEBIAN-CVE-2025-13034
Debian:14curl8.18.0~rc2-1DEBIAN-CVE-2025-13034
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.22USN-8062-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.7USN-8062-1
Ubuntu:25.10curl8.14.1-2ubuntu1.1USN-8062-1
Ubuntu:25.10curl8.14.1-2ubuntu1.1UBUNTU-CVE-2025-13034

Affected products (as reported)

VendorProductVersions
curl curl 8.8.0 – before 8.14.28.15.0 – before 8.16.18.17.0 – before 8.18.0
curl curl 3210101088dfa3d6a125d213226b092f2f866722 – before 3d91ca8cdb3b434226e743946d428b4dd3acf2c9
curl curl 8.17.08.16.08.15.08.14.18.14.08.13.08.12.18.12.0

Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

References