CVEvulnerability

CVE-2025-13034

5.9 MEDIUM Published 2026-01-08 Modified 2026-09-15 Official page ↗
Status
Modified
Published
2026-01-08
Last modified
2026-09-15
Assigner
2499f714-1537-4658-8207-48ae4bb9eae9
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-295

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.

Affected configurations

• haxx curl (>= 8.8.0 < 8.18.0)

Related

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References