TROYANOSYVIRUS
Back to CVEs

CVE-2025-13034

MEDIUM
5.9

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.

CVE Details

CVSS v3.1 Score5.9
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredNONE
User InteractionNONE
Published1/8/2026
Last Modified1/20/2026
Sourcenvd
Honeypot Sightings0

Affected Products

haxx:curl

Weaknesses (CWE)

CWE-295

References

https://curl.se/docs/CVE-2025-13034.html(2499f714-1537-4658-8207-48ae4bb9eae9)
https://curl.se/docs/CVE-2025-13034.json(2499f714-1537-4658-8207-48ae4bb9eae9)

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.