CVE-2025-5025
JSON

4.8medium

No QUIC certificate pinning with wolfSSL

Severity
4.8medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.42% (higher than 28% of CVEs)
Published
Last changed
Assigned by
curl
Also known as
CURL-CVE-2025-5025

Description

libcurl supports *pinning* of the server certificate public key for HTTPS transfers. Due to an omission, this check is not performed when connecting with QUIC for HTTP/3, when the TLS backend is wolfSSL. Documentation says the option works with wolfSSL, failing to specify that it does not for QUIC and HTTP/3. Since pinning makes the transfer succeed if the pin is fine, users could unwittingly connect to an impostor server without noticing.

Affected

Product or packageVersionsReported by
curl curlfrom 8.13.0 up to 8.13.0, from 8.12.1 up to 8.12.1, from 8.12.0 up to 8.12.0, from 8.11.1 up to 8.11.1, from 8.11.0 up to 8.11.0, from 8.10.1 up to 8.10.1, from 8.10.0 up to 8.10.0, from 8.9.1 up to 8.9.1 and 6 moreCVE List
https://github.com/curl/curl.gitfrom 8.5.0 before 8.14.0, from 5f78cf503c786a1d48d13528dde038bccfa6c67c before e1f65937a96a451292e9231339672797da86ecc5curl
haxx curlfrom 8.5.0 before 8.14.0NVD

All scores

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

Classification

CWE-295

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

libcurl supports *pinning* of the server certificate public key for HTTPS transfers. Due to an omission, this check is not performed when connecting with QUIC for HTTP/3, when the TLS backend is wolfSSL. Documentation says the option works with wolfSSL, failing to specify that it does not for QUIC and HTTP/3. Since pinning makes the transfer succeed if the pin is fine, users could unwittingly connect to an impostor server without noticing.

NVD (es)

libcurl admite la fijación de la clave pública del certificado del servidor para transferencias HTTPS. Debido a una omisión, esta comprobación no se realiza al conectar con QUIC para HTTP/3, cuando el backend TLS es wolfSSL. La documentación indica que la opción funciona con wolfSSL, pero no especifica que no funciona para QUIC ni HTTP/3. Dado que la fijación permite que la transferencia se realice correctamente si la fijación es correcta, los usuarios podrían conectarse sin darse cuenta a un servidor falso.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-5025 changed 2025-05-30CVE Terms of Use
curlCURL-CVE-2025-5025 changed 2026-10-25MIT
NVDCVE-2025-5025 changed 2026-06-17Public domain