← All Advisories
Reported from OT-Advisories.com as of

ngtcp2 Before 1.22.1 Mishandles Peer Transport Parameters When Serializing qlog Output

Last refreshed2026-11-17

Status: UPDATED  |  Advisory ID: CVE-2026-40170

Key Details

CVECVE-2026-40170
CVSS Score / Version
7.5 (High) / CVSS v3.1
Updated2026-11-11
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is none; integrity impact is none; availability impact is high.
Affected products
Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat Hardened Images, tatsuhiro-t ngtcp2, and ngtcp2 ngtcp2
Classified as
CWE-121 (Stack-based Buffer Overflow)
Exploitation prediction (EPSS)
0.79% probability of exploitation in the next 30 days (57% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Hardened Images
tatsuhiro-tngtcp2
ngtcp2ngtcp2
SubsystemsOT Supporting Infrastructure
SectorsMultiple

What to Know

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. (NVD)

What to Do

Monitor Red Hat, tatsuhiro-t, and ngtcp2's web pages for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-40170
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-40170
Vendor advisoryhttps://github.com/ngtcp2/ngtcp2/security/advisories/GHSA-f523-465f-8c8f
Vendor advisoryhttps://github.com/ngtcp2/ngtcp2/commit/708a7640c1f48fb8ffb540c4b8ea5b4c1dfb8ee5
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.