5.9medium
No QUIC certificate pinning with GnuTLS
- Severity
- 5.9medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- curl
- Also known as
- CURL-CVE-2025-13034
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
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 11 more | CVE List |
| 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 | curl |
| haxx curl | from 8.8.0 before 8.18.0 | NVD |
All scores
| CISA-ADP | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| curl | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Al usar la opción 'CURLOPT_PINNEDPUBLICKEY' con libcurl o '--pinnedpubkey' con la herramienta curl, curl debería verificar la clave pública del certificado del servidor para verificar el par. Esta verificación se omitió en una determinada condición que luego haría que curl permitiera la conexión sin realizar la verificación adecuada, sin notar así un posible impostor. Para omitir esta verificación, la conexión tenía que hacerse con QUIC con ngtcp2 compilado para usar GnuTLS y el usuario tenía que deshabilitar explícitamente la verificación estándar del certificado.
References
| https://curl.se/docs/CVE-2025-13034.json | vendor-advisory | |
| https://curl.se/docs/CVE-2025-13034.html | patch, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-13034 changed 2026-09-15 | CVE Terms of Use |
| curl | CURL-CVE-2025-13034 changed 2026-10-25 | MIT |
| NVD | CVE-2025-13034 changed 2026-09-15 | Public domain |