7.5

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

Modified
AliasesALPINE-CVE-2026-40170RHSA-2026:9113UBUNTU-CVE-2026-40170
Published 16-04-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-40170 is a high (CVSS 7.5) Stack-based Buffer Overflow vulnerability in ngtcp2. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 55.8% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.78%
0%100%
Low · -0.18 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github, reference

Advisory lineage

Upstream 0 · Downstream 13 · Related 12

Timeline

  1. 16-04-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.78%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

Decrease -0.18 pp

From 0.95% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    Ngtcp2

    Maturity: poc

  • referenceUnverified

    Exploit Reference (openwall.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat7 products
  • ngtcp2< 0:1.22.1-1.hum1
  • ngtcp2-crypto-gnutls< 0:1.22.1-1.hum1
  • ngtcp2-crypto-gnutls-devel< 0:1.22.1-1.hum1
  • ngtcp2-crypto-ossl< 0:1.22.1-1.hum1
  • ngtcp2-crypto-ossl-devel< 0:1.22.1-1.hum1
Alpine1 product
  • ngtcp2< 1.5.0-r1 | < 1.9.1-r1 | < 1.12.0-r1 | < 1.22.1-r0
Debian1 product
  • ngtcp2< 0.12.1+dfsg-1+deb12u1 | < 1.11.0-1+deb13u1 | < 1.22.1-1
Ngtcp21 product
Opensuse1 product
  • ngtcp2&distro=openSUSE Tumbleweed< 1.22.1-1.1
Tatsuhiro-t1 product
Ubuntu1 product
  • ngtcp2< 0.1.0+dfsg-1ubuntu0.1~esm1 | < 0.12.1+dfsg-1+deb12u1build0.24.04.1 | < 1.11.0-1+deb13u1build0.25.10.1 | < 1.16.0-1ubuntu0.1

7 vendors · 13 products

References

19 links
Show all 19 references