CVE-2026-40170
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 0.12.1+dfsg-1+deb12u1 |
| debian | forky | fixed | 1.22.1-1 |
| debian | sid | fixed | 1.22.1-1 |
| debian | trixie | fixed | 1.11.0-1+deb13u1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| tatsuhiro-t | ngtcp2 | {"endExcluding":"1.22.1"} | 1.22.1 |
References
- https://github.com/ngtcp2/ngtcp2/commit/708a7640c1f48fb8ffb540c4b8ea5b4c1dfb8ee5
- https://github.com/ngtcp2/ngtcp2/security/advisories/GHSA-f523-465f-8c8f
- http://www.openwall.com/lists/oss-security/2026/04/17/12
- https://www.suse.com/security/cve/CVE-2026-40170.html
- https://security-tracker.debian.org/tracker/CVE-2026-40170
CWEs
CWE-121
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.