Skip to content
OpenAdvisories
Medium · 4.8 Public exploit CVE-2025-5025 EUVD-2025-16332GHSA-x8ch-h5vv-q6cm

No QUIC certificate pinning with wolfSSL

Published May 28, 2025 · Updated May 30, 2025 · Assigned by curl

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 products

VendorProductAffectedFixed
curl curl 8.13.0 – ≤ 8.13.0, 8.12.1 – ≤ 8.12.1, 8.12.0 – ≤ 8.12.0, 8.11.1 – ≤ 8.11.1, 8.11.0 – ≤ 8.11.0, 8.10.1 – ≤ 8.10.1, 8.10.0 – ≤ 8.10.0, 8.9.1 – ≤ 8.9.1, 8.9.0 – ≤ 8.9.0, 8.8.0 – ≤ 8.8.0, 8.7.1 – ≤ 8.7.1, 8.7.0 – ≤ 8.7.0, 8.6.0 – ≤ 8.6.0, 8.5.0 – ≤ 8.5.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 8.14.0-1 —
Debian 13 curl 8.14.0-1 —
ReleasePackageFixed inAdvisory
SLES 15 SP7 curl 8.14.1-150600.4.28.1 SUSE-SU-2025:03198-1
SLES 15 SP6 curl 8.14.1-150600.4.28.1 SUSE-SU-2025:03198-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 6.1 curl 8.14.1-slfo.1.1_1.1 SUSE-SU-2025:20675-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.14.0-1.1 openSUSE-SU-2025:15176-1
openSUSE Leap 15.6 curl 8.14.1-150600.4.28.1 SUSE-SU-2025:03198-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.14.0-r0 —
Alpine v3.23 curl 8.14.0-r0 —
Alpine v3.22 curl 8.14.0-r0 —
Alpine v3.21 curl 8.14.0-r0 —
Alpine v3.20 curl 8.14.0-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 8.14.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake 3.30.3-6 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References