CVE-2026-40170ngtcp2 has a qlog transport parameter serialization stack buffer overflow
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | ngtcp2 | Fixed | 1.16.0-1ubuntu0.1 | UBUNTU-CVE-2026-40170 |
| Ubuntu 25.10 | ngtcp2 | Fixed | 1.11.0-1+deb13u1build0.25.10.1 | UBUNTU-CVE-2026-40170 |
| Ubuntu 24.04 | ngtcp2 | Fixed | 0.12.1+dfsg-1+deb12u1build0.24.04.1 | UBUNTU-CVE-2026-40170 |
| Ubuntu 22.04 | ngtcp2 | Fix pending | 0.1.0+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-40170 |
| Debian 14 | ngtcp2 | Fixed | 1.22.1-1 | DEBIAN-CVE-2026-40170 |
| Debian 13 | ngtcp2 | Fixed | 1.11.0-1+deb13u1 | DEBIAN-CVE-2026-40170 |
| Debian 12 | ngtcp2 | Fixed | 0.12.1+dfsg-1+deb12u1 | DEBIAN-CVE-2026-40170 |
| Red Hat Enterprise Linux 10 | ldb-tools | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | libldb | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | libldb-devel | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | libnetapi | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | libnetapi-devel | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | libsmbclient | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | libsmbclient-devel | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | libwbclient | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | libwbclient-devel | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs22 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-ldb | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | python3-samba | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | python3-samba-dc | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | python3-samba-test | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-client | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-client-libs | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-common | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-common-libs | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-common-tools | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-dc-libs | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-dcerpc | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-devel | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-gpupdate | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-krb5-printing | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-ldb-ldap-modules | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-libs | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-pidl | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-test | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-test-libs | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-tools | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-usershares | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-vfs-iouring | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-winbind | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-winbind-clients | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-winbind-krb5-locator | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-winbind-modules | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10 | samba-winexe | Fixed | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 9 | ctdb | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | ldb-tools | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | libldb | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | libldb-devel | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | libnetapi | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | libnetapi-devel | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | libsmbclient | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | libsmbclient-devel | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | libwbclient | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | libwbclient-devel | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | npm | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-ldb | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | python3-samba | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | python3-samba-dc | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | python3-samba-test | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-client | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-client-libs | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-common | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-common-libs | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-common-tools | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-dc-libs | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-dcerpc | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-devel | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-gpupdate | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-krb5-printing | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-ldb-ldap-modules | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-libs | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-pidl | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-test | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-test-libs | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-tools | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-usershares | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-vfs-iouring | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-winbind | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-winbind-clients | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-winbind-krb5-locator | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-winbind-modules | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9 | samba-winexe | Fixed | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 8 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Not affected | ||
| Red Hat Enterprise Linux 8 | npm | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Not affected | ||
| AlmaLinux 10 | samba-common | Fixed | 4.23.5-109.el10_2 | ALSA-2026:22963 |
| AlmaLinux 10 | samba-gpupdate | Fixed | 4.23.5-109.el10_2 | ALSA-2026:22963 |
| AlmaLinux 10 | samba-pidl | Fixed | 4.23.5-109.el10_2 | ALSA-2026:22963 |
| AlmaLinux 10 | samba-usershares | Fixed | 4.23.5-109.el10_2 | ALSA-2026:22963 |
| AlmaLinux 9 | ldb-tools | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | libldb | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | libldb-devel | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | libnetapi | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | libnetapi-devel | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | libsmbclient | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | libsmbclient-devel | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | libwbclient | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | libwbclient-devel | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | python3-ldb | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | python3-samba | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | python3-samba-dc | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | python3-samba-test | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-client | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-client-libs | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-common | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-common-libs | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-common-tools | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-dc-libs | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-dcerpc | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-devel | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-gpupdate | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-krb5-printing | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-ldb-ldap-modules | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-libs | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-pidl | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-test | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-test-libs | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-tools | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-usershares | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-vfs-iouring | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-winbind | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-winbind-clients | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-winbind-krb5-locator | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-winbind-modules | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux 9 | samba-winexe | Fixed | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| Rocky Linux 10 | samba | Fixed | 0:4.23.5-109.el10_2 | RLSA-2026:22963 |
| Rocky Linux 9 | samba | Fixed | 0:4.23.5-10.el9_8 | RLSA-2026:25049 |
| Alpine Linux 3.24 | ngtcp2 | Fixed | 1.22.1-r0 | ALPINE-CVE-2026-40170 |
| Alpine Linux 3.23 | ngtcp2 | Fixed | 1.22.1-r0 | ALPINE-CVE-2026-40170 |
| Alpine Linux 3.22 | ngtcp2 | Fixed | 1.12.0-r1 | ALPINE-CVE-2026-40170 |
| Alpine Linux 3.21 | ngtcp2 | Fixed | 1.9.1-r1 | ALPINE-CVE-2026-40170 |
| Alpine Linux 3.20 | ngtcp2 | Fixed | 1.5.0-r1 | ALPINE-CVE-2026-40170 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ngtcp2: affected: < 1.22.1
References
- https://github.com/ngtcp2/ngtcp2/security/advisories/GHSA-f523-465f-8c8f
- https://github.com/ngtcp2/ngtcp2/commit/708a7640c1f48fb8ffb540c4b8ea5b4c1dfb8ee5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.