CVE-2025-13034
JSON

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 packageVersionsReported by
curl curlfrom 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 moreCVE List
https://github.com/curl/curl.gitfrom 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 3d91ca8cdb3b434226e743946d428b4dd3acf2c9curl
haxx curlfrom 8.8.0 before 8.18.0NVD

All scores

CISA-ADP5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
curlmedium rating

Classification

CWE-295

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

Sources

SourceRecordLicence
CVE ListCVE-2025-13034 changed 2026-09-15CVE Terms of Use
curlCURL-CVE-2025-13034 changed 2026-10-25MIT
NVDCVE-2025-13034 changed 2026-09-15Public domain