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.
{ "CWE": { "id": "CWE-295", "desc": "Improper Certificate Validation" }, "award": { "amount": "2540", "currency": "USD" }, "URL": "https://curl.se/docs/CVE-2025-5025.json", "affects": "both", "package": "curl", "severity": "Medium", "issue": "https://hackerone.com/reports/3153497", "www": "https://curl.se/docs/CVE-2025-5025.html", "last_affected": "8.13.0" }