CVE-2025-13034No QUIC certificate pinning with GnuTLS
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | curl | Fixed | 8.14.1-2ubuntu1.1 | UBUNTU-CVE-2025-13034 |
| Ubuntu 24.04 | curl | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | curl | Not affected vulnerable_code_not_present | ||
| Debian 14 | curl | Fixed | 8.18.0~rc2-1 | DEBIAN-CVE-2025-13034 |
| Debian 13 | curl | Fixed | 8.14.1-2+deb13u3 | DEBIAN-CVE-2025-13034 |
| Red Hat Enterprise Linux 10 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | curl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libcurl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libcurl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libcurl-minimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rustfmt | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-chreipl-fcp-mpath | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-cmsfs-fuse | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-cpacfstatsd | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-cpuplugd | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-hmcdrvfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-iucvterm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-mon_statd | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-osasnmpd | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-se-data | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-zdsfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | s390utils-ziomon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | snphost | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | trustee-guest-components | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | curl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | curl-minimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libcurl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libcurl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libcurl-minimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rustfmt | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | snphost | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | trustee-guest-components | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | curl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libcurl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libcurl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libcurl-minimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | curl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libcurl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libcurl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | curl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libcurl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libcurl-devel | Fix pending Fix deferred | ||
| Alpine Linux 3.22 | curl | Fixed | 8.14.1-r4 | ALPINE-CVE-2025-13034 |
| Alpine Linux 3.21 | curl | Fixed | 8.14.1-r3 | ALPINE-CVE-2025-13034 |
What the vendor says
As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- curl: affected: 8.8.0 to before 8.14.2, 8.15.0 to before 8.16.1, 8.17.0 to before 8.18.0; fixed in
8.14.2,8.16.1,8.18.0 - curl: affected: 3210101088dfa3d6a125d213226b092f2f866722 to before 3d91ca8cdb3b434226e743946d428b4dd3acf2c9; fixed in
3d91ca8cdb3b434226e743946d428b4dd3acf2c9 - curl: affected: 8.17.0, 8.16.0, 8.15.0, 8.14.1, 8.14.0, 8.13.0
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.