p PatchFirst

CVE-2025-13034

CVE-2025-13034 · No QUIC certificate pinning with GnuTLS

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.9 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • curl

    Versions
    • ≥ 8.8.0, < 8.14.2: Affected (semver)
    • ≥ 8.15.0, < 8.16.1: Affected (semver)
    • ≥ 8.17.0, < 8.18.0: Affected (semver)

    Update to 8.14.2; Update to 8.16.1; Update to 8.18.0

  • curl

    Versions
    • ≥ 3210101088dfa3d6a125d213226b092f2f866722, < 3d91ca8cdb3b434226e743946d428b4dd3acf2c9: Affected (git)

    No fix published

  • curl

    Versions
    • 8.17.0: Affected
    • 8.16.0: Affected
    • 8.15.0: Affected
    • 8.14.1: Affected
    • 8.14.0: Affected
    • 8.13.0: Affected
    • 8.12.1: Affected
    • 8.12.0: Affected
    • 8.11.1: Affected
    • 8.11.0: Affected
    • 8.10.1: Affected
    • 8.10.0: Affected
    • 8.9.1: Affected
    • 8.9.0: Affected
    • 8.8.0: Affected

    No fix published

  • curl Debian:13

    Versions
    • 8.14.1-2
    • 8.14.1-2+deb13u1
    • 8.14.1-2+deb13u2
    • 8.14.1-2+deb13u2~bpo13+1
    Affected ranges
    • ECOSYSTEM: < 8.14.1-2+deb13u3

    Update to 8.14.1-2+deb13u3

  • curl Debian:14

    Versions
    • 8.14.1-2
    • 8.14.1-2+exp1
    • 8.15.0-1
    • 8.15.0-1~bpo13+1
    • 8.15.0-1~exp1
    • 8.15.0~rc1-1exp1
    • 8.15.0~rc2-1~exp1
    • 8.15.0~rc3-1~exp1
    • 8.16.0-1
    • 8.16.0-1+exp1
    • 8.16.0-1~bpo13+1
    • 8.16.0-2
    • 8.16.0-3
    • 8.16.0-4
    • 8.16.0-4~bpo13+1
    • 8.16.0~rc1-1~exp1
    • 8.16.0~rc2-1
    • 8.16.0~rc2-2
    • 8.16.0~rc3-1
    • 8.17.0-1
    • 8.17.0-2
    • 8.17.0-3
    • 8.17.0~rc1-1~exp1
    • 8.17.0~rc2-1
    • 8.17.0~rc3-1
    • 8.18.0~rc1-1+exp1
    Affected ranges
    • ECOSYSTEM: < 8.18.0~rc2-1

    Update to 8.18.0~rc2-1

  • curl Ubuntu:25.10

    Versions
    • 8.12.1-3ubuntu1
    • 8.13.0-5ubuntu1
    • 8.14.1-1ubuntu2
    • 8.14.1-1ubuntu3
    • 8.14.1-2ubuntu1
    Affected ranges
    • ECOSYSTEM: < 8.14.1-2ubuntu1.1

    Update to 8.14.1-2ubuntu1.1

Original sources

Check your server →