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.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.3%top 76.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl8.14.0-r0ALPINE-CVE-2025-5025
Alpine:v3.21curl8.14.0-r0ALPINE-CVE-2025-5025
Alpine:v3.22curl8.14.0-r0ALPINE-CVE-2025-5025
Alpine:v3.23curl8.14.0-r0ALPINE-CVE-2025-5025
Alpine:v3.24curl8.14.0-r0ALPINE-CVE-2025-5025
Debian:13curl8.14.0-1DEBIAN-CVE-2025-5025
Debian:14curl8.14.0-1DEBIAN-CVE-2025-5025

Affected products (as reported)

VendorProductVersions
curl curl 8.13.0 – through 8.13.08.12.1 – through 8.12.18.12.0 – through 8.12.08.11.1 – through 8.11.18.11.0 – through 8.11.08.10.1 – through 8.10.18.10.0 – through 8.10.08.9.1 – through 8.9.1

References