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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-295
- **Published:** 2026-01-08T10:00:25.773Z
- **Modified:** 2026-09-15T07:16:23.550Z

## Who should check

- Anyone running curl \>= 8.8.0, \< 8.14.2; \>= 8.15.0, \< 8.16.1; \>= 8.17.0, \< 8.18.0
- Anyone running curl \>= 3210101088dfa3d6a125d213226b092f2f866722, \< 3d91ca8cdb3b434226e743946d428b4dd3acf2c9
- Anyone running curl 8.17.0; 8.16.0; 8.15.0; 8.14.1; 8.14.0; 8.13.0; 8.12.1; 8.12.0; 8.11.1; 8.11.0; …

## 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 and fixed versions

- curl: \>= 8.8.0, \< 8.14.2; \>= 8.15.0, \< 8.16.1; \>= 8.17.0, \< 8.18.0 (cvelist)
- curl: \>= 3210101088dfa3d6a125d213226b092f2f866722, \< 3d91ca8cdb3b434226e743946d428b4dd3acf2c9 (cvelist)
- curl: 8.17.0; 8.16.0; 8.15.0; 8.14.1; 8.14.0; 8.13.0; 8.12.1; 8.12.0; 8.11.1; 8.11.0; … (cvelist)

## Mitigation

- Upgrade curl to 8.18.0 or later.
- Upgrade curl to 3d91ca8cdb3b434226e743946d428b4dd3acf2c9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-13034. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-13034.md
Affected: curl >= 8.8.0, < 8.14.2; >= 8.15.0, < 8.16.1; >= 8.17.0, < 8.18.0; curl >= 3210101088dfa3d6a125d213226b092f2f866722, < 3d91ca8cdb3b434226e743946d428b4dd3acf2c9; curl 8.17.0; 8.16.0; 8.15.0; 8.14.1; 8.14.0; 8.13.0; 8.12.1; 8.12.0; 8.11.1; 8.11.0; …
Fixed in: curl 8.14.2, curl 8.16.1, curl 8.18.0, curl 3d91ca8cdb3b434226e743946d428b4dd3acf2c9

Steps:
1. Search this machine and project for curl: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-13034 being exploited?

There is no confirmed exploitation: CVE-2025-13034 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-13034?

Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-13034?

curl \>= 8.8.0, \< 8.14.2; \>= 8.15.0, \< 8.16.1; \>= 8.17.0, \< 8.18.0; curl \>= 3210101088dfa3d6a125d213226b092f2f866722, \< 3d91ca8cdb3b434226e743946d428b4dd3acf2c9; curl 8.17.0; 8.16.0; 8.15.0; 8.14.1; 8.14.0; 8.13.0; 8.12.1; 8.12.0; 8.11.1; 8.11.0; ….

### Is there a fix for CVE-2025-13034?

Yes. Fixed in curl 8.14.2, curl 8.16.1, curl 8.18.0, curl 3d91ca8cdb3b434226e743946d428b4dd3acf2c9. Upgrade curl to 8.18.0 or later. Upgrade curl to 3d91ca8cdb3b434226e743946d428b4dd3acf2c9 or later.

### How do I check if I'm affected by CVE-2025-13034?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-13034>

HTML: <https://flawdb.com/CVE-2025-13034> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-13034>
