p PatchFirst

CVE-2026-40170

CVE-2026-40170 · ngtcp2 has a qlog transport parameter serialization stack buffer overflow

CVSS 7.5 · High · EPSS 1.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • ngtcp2No fix published
  • ngtcp2 Alpine 3.20Update to 1.5.0-r1
  • ngtcp2 Alpine 3.21Update to 1.9.1-r1
  • ngtcp2 Alpine 3.22Update to 1.12.0-r1
  • and 9 more

Check the installed version:

apk list -I -o ngtcp2

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

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

ngtcp2 is a C implementation of the IETF QUIC protocol. In versions prior to 1.22.1, ngtcp2_qlog_parameters_set_transport_params() serializes peer transport parameters into a fixed 1024-byte stack buffer without bounds checking. When qlog is enabled, a remote peer can send sufficiently large transport parameters during the QUIC handshake to cause writes beyond the buffer boundary, resulting in a stack buffer overflow. This affects deployments that enable the qlog callback and process untrusted peer transport parameters. This issue has been fixed in version 1.22.1. If developers are unable to immediately upgrade, they can disable the qlog on client.

Published
Updated

Fixes in distributions

  • SUSE-SU-2026:3930-1 · SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP5 ·
  • SUSE-SU-2026:3929-1 · SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • openSUSE-SU-2026:21236-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:22565-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • SUSE-SU-2026:2695-1 · SUSE Linux Enterprise Module for Web and Scripting 15 SP7 ·
  • SUSE-SU-2026:2647-1 · SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • openSUSE-SU-2026:21058-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:2633-1 · SUSE Linux Enterprise Module for Web and Scripting 15 SP7 ·
  • SUSE-SU-2026:22368-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:11121-1 · openSUSE Tumbleweed ·
  • RLSA-2026:25049 · Rocky Linux 9 ·
  • RLSA-2026:22963 · Rocky Linux 10 ·
  • RHSA-2026:25049 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 baseos, Red Hat Enterprise Linux 9 crb, Red Hat Enterprise Linux 9 resilientstorage ·
  • ALSA-2026:25049 · AlmaLinux 9 ·
  • RHSA-2026:22963 · Red Hat Enterprise Linux 10.2 ·
  • ALSA-2026:22963 · AlmaLinux 10 ·
  • openSUSE-SU-2026:10884-1 · openSUSE Tumbleweed ·
  • USN-8300-1 · Ubuntu 24.04 LTS, Ubuntu 25.10, Ubuntu 26.04 LTS, Ubuntu Pro 22.04 LTS ·
  • openSUSE-SU-2026:10621-1 · openSUSE Tumbleweed ·
  • RHSA-2026:9113 · Red Hat hummingbird 1 ·
  • DSA-6222-1 · Debian 12, Debian 13 ·

Stack: system

Affected products and versions

  • ngtcp2

    Versions
    • < 1.22.1: Affected

    No fix published

  • ngtcp2 Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 1.5.0-r1

    Update to 1.5.0-r1

  • ngtcp2 Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 1.9.1-r1

    Update to 1.9.1-r1

  • ngtcp2 Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 1.12.0-r1

    Update to 1.12.0-r1

  • ngtcp2 Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.22.1-r0

    Update to 1.22.1-r0

  • ngtcp2 Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.22.1-r0

    Update to 1.22.1-r0

  • ngtcp2 Debian 12

    Versions
    • 0.12.1+dfsg-1
    Affected ranges
    • ECOSYSTEM: < 0.12.1+dfsg-1+deb12u1

    Update to 0.12.1+dfsg-1+deb12u1

  • ngtcp2 Debian 13

    Versions
    • 1.11.0-1
    Affected ranges
    • ECOSYSTEM: < 1.11.0-1+deb13u1

    Update to 1.11.0-1+deb13u1

  • ngtcp2 Debian 14

    Versions
    • 1.11.0-1
    • 1.12.0-1~exp1
    • 1.15.1-1
    • 1.16.0-1
    • 1.16.0-1~bpo13+1
    • 1.16.0-1~bpo13+2
    All versions (9)
    • 1.16.0-1~exp1
    • 1.21.0-1
    • 1.22.1-1~bpo13+1
    Affected ranges
    • ECOSYSTEM: < 1.22.1-1

    Update to 1.22.1-1

  • ngtcp2 Ubuntu Pro 22.04 LTS

    Versions
    • 0~20210905-1
    • 0.1.0+dfsg-1
    Affected ranges
    • ECOSYSTEM: < 0.1.0+dfsg-1ubuntu0.1~esm1

    Update to 0.1.0+dfsg-1ubuntu0.1~esm1

  • ngtcp2 Ubuntu 24.04 LTS

    Versions
    • 0.12.1+dfsg-1
    • 0.12.1+dfsg-1build1
    • 0.12.1+dfsg-1build2
    Affected ranges
    • ECOSYSTEM: < 0.12.1+dfsg-1+deb12u1build0.24.04.1

    Update to 0.12.1+dfsg-1+deb12u1build0.24.04.1

  • ngtcp2 Ubuntu 25.10

    Versions
    • 1.11.0-1
    Affected ranges
    • ECOSYSTEM: < 1.11.0-1+deb13u1build0.25.10.1

    Update to 1.11.0-1+deb13u1build0.25.10.1

  • ngtcp2 Ubuntu 26.04 LTS

    Versions
    • 1.11.0-1
    • 1.16.0-1
    Affected ranges
    • ECOSYSTEM: < 1.16.0-1ubuntu0.1

    Update to 1.16.0-1ubuntu0.1

Original sources

Check your server →