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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | curl | 8.14.1-r3 | ALPINE-CVE-2025-13034 |
| Alpine:v3.22 | curl | 8.14.1-r4 | ALPINE-CVE-2025-13034 |
| Debian:13 | curl | 8.14.1-2+deb13u3 | DEBIAN-CVE-2025-13034 |
| Debian:14 | curl | 8.18.0~rc2-1 | DEBIAN-CVE-2025-13034 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.22 | USN-8062-1 |
| Ubuntu:24.04:LTS | curl | 8.5.0-2ubuntu10.7 | USN-8062-1 |
| Ubuntu:25.10 | curl | 8.14.1-2ubuntu1.1 | USN-8062-1 |
| Ubuntu:25.10 | curl | 8.14.1-2ubuntu1.1 | UBUNTU-CVE-2025-13034 |
Affected products (as reported)
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N