# CVE-2025-13034: No QUIC certificate pinning with GnuTLS

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-01-07T08:00:00.000Z
- Modified: 2026-10-25T01:04:35.690Z
- Also known as: CURL-CVE-2025-13034
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: curl

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

(As written by CVE List.)

## Affected

- curl curl: from 8.8.0 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.18.0; from 3210101088dfa3d6a125d213226b092f2f866722 before 3d91ca8cdb3b434226e743946d428b4dd3acf2c9; 8.17.0; 8.16.0; 8.15.0; 8.14.1; 8.14.0; 8.13.0; 8.12.1; 8.12.0; and 7 more
- https://github.com/curl/curl.git: from 8.8.0 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.18.0; from 3210101088dfa3d6a125d213226b092f2f866722 before 3d91ca8cdb3b434226e743946d428b4dd3acf2c9
- haxx curl: from 8.8.0 before 8.18.0

## Every score

- CISA-ADP: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- curl: rating Medium

## References

- <https://curl.se/docs/CVE-2025-13034.json> (vendor-advisory)
- <https://curl.se/docs/CVE-2025-13034.html> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2025-13034](https://www.cve.org/CVERecord?id=CVE-2025-13034), CVE Terms of Use, modified 2026-09-15
- curl: [CURL-CVE-2025-13034](https://osv.dev/vulnerability/CURL-CVE-2025-13034), MIT, modified 2026-10-25
- NVD: [CVE-2025-13034](https://nvd.nist.gov/vuln/detail/CVE-2025-13034), Public domain, modified 2026-09-15

---

Page: https://cve.day/CVE-2025-13034 · Whole record: https://cve.day/CVE-2025-13034.json · Rebuilt by cve.day 2026-11-25T22:59:10.423Z
