Vulnerability · Published May 28, 2025 · Assigned by curl
CVE-2025-5025No QUIC certificate pinning with wolfSSL
Medium 4.8
In plain English
A medium-severity security flaw in curl from curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | curl | 8.14.0-r0 | ALPINE-CVE-2025-5025 |
| Alpine:v3.21 | curl | 8.14.0-r0 | ALPINE-CVE-2025-5025 |
| Alpine:v3.22 | curl | 8.14.0-r0 | ALPINE-CVE-2025-5025 |
| Alpine:v3.23 | curl | 8.14.0-r0 | ALPINE-CVE-2025-5025 |
| Alpine:v3.24 | curl | 8.14.0-r0 | ALPINE-CVE-2025-5025 |
| Debian:13 | curl | 8.14.0-1 | DEBIAN-CVE-2025-5025 |
| Debian:14 | curl | 8.14.0-1 | DEBIAN-CVE-2025-5025 |