CVE-2025-13034
Last modified
CVE-2025-13034 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. When using `CURLOPT_PINNEDPUBLICKEY` option with libcurl or `--pinnedpubkey` with the curl tool,curl should check the public key of the server certificate to verify the peer. This check was skipped in a certain condition that would then make curl allow the connection without performing the proper check, thus not noticing a possible impostor. To skip this check, the connection had to be done with QUIC with ngtcp2 built to use GnuTLS and the user had to explicitly disable the standard certificate verification.. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
When using `CURLOPT_PINNEDPUBLICKEY` option with libcurl or `--pinnedpubkey` with the curl tool,curl should check the public key of the server certificate to verify the peer. This check was skipped in a certain condition that would then make curl allow the connection without performing the proper check, thus not noticing a possible impostor. To skip this check, the connection had to be done with QUIC with ngtcp2 built to use GnuTLS and the user had to explicitly disable the standard certificate verification.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Haxx | Curl | >= 8.8.0, < 8.18.0 |
References
- https://curl.se/docs/CVE-2025-13034.htmlPatch, Vendor Advisory
- https://curl.se/docs/CVE-2025-13034.jsonVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-13034?
How severe is CVE-2025-13034?
How do I fix CVE-2025-13034?
Are you affected by CVE-2025-13034?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
