CVE-2025-5025

NameCVE-2025-5025
Descriptionlibcurl 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
curl (PTS)bullseye7.74.0-1.3+deb11u13fixed
bullseye (security)7.74.0-1.3+deb11u14fixed
bookworm7.88.1-10+deb12u12fixed
bookworm (security)7.88.1-10+deb12u5fixed
trixie8.13.0-5vulnerable
sid8.14.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
curlsourcebullseye(not affected)
curlsourcebookworm(not affected)
curlsource(unstable)(unfixed)unimportant

Notes

[bookworm] - curl <not-affected> (Vulnerable code not present)
[bullseye] - curl <not-affected> (Vulnerable code not present)
https://curl.se/docs/CVE-2025-5025.html
Introduced by: https://github.com/curl/curl/commit/5f78cf503c786a1d48d13528dde038bccfa6c67c (curl-8_5_0)
Fixed by: https://github.com/curl/curl/commit/e1f65937a96a451292e9231339672797da86ecc5 (curl-8_14_0)
curl in Debian not built with wolfSSL support

Search for package or bug name: Reporting problems