Skip to main content

ngtcp2 EUVDEUVD-2026-23302

| CVE-2026-40170 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-04-16 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect as QUIC peer to qlog-enabled ngtcp2 endpoint
  2. Delivery
    Send oversized transport parameters in handshake
  3. Exploit
    Serialization overruns 1024-byte stack buffer
  4. Execution
    Corrupt stack frame / crash process
  5. Impact
    Denial of service (potential memory corruption)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application has enabled the ngtcp2 qlog callback (the ngtcp2_qlog_parameters_set_transport_params serialization path) AND processes untrusted peer transport parameters during the QUIC handshake - qlog is an optional observability/debug feature that is not enabled by default, which is the primary limiting factor. When qlog is enabled, no authentication or user interaction is needed (CVSS PR:N/UI:N): a remote peer simply supplies sufficiently large transport parameters during the normal handshake. Exploitation is limited to ngtcp2 versions before 1.22.1; endpoints with qlog disabled are not reachable via this path.

Impact

Signals are consistent but modest. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5) reflects remote, unauthenticated, low-complexity triggering with availability-only impact - i.e., a denial-of-service crash, not confirmed code execution. SSVC agrees the technical impact is 'partial' and marks it 'automatable: yes' with exploitation at 'poc'. However, EPSS is only 0.04% (12th percentile) and there is no KEV listing, indicating no observed widespread exploitation. A key caveat: the CVSS scores impact as A:H/C:N/I:N (DoS only), but a stack buffer overflow (CWE-121) can in principle corrupt the return address and enable memory-corruption code execution - the assigned vector likely reflects a conservative crash-only assessment, so integrity/confidentiality impact cannot be fully ruled out without exploit analysis. The practical risk is bounded by the precondition that qlog must be enabled, which is typically a debugging/observability feature rather than a default production setting. Net: real but conditional - prioritize for deployments that run ngtcp2 with qlog enabled and face untrusted peers; deprioritize where qlog is off.

Exploit ScenarioDerived

An attacker operating (or impersonating) a QUIC peer initiates a handshake against an ngtcp2-based endpoint that has qlog enabled and sends deliberately oversized transport parameters. When ngtcp2 serializes those parameters into the fixed 1024-byte stack buffer, the write overruns the stack frame, crashing the service (DoS) and potentially corrupting control data. Public PoC/exploit code exists per SSVC, and the low attack complexity plus 'automatable: yes' rating make repeated automated triggering straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Stack buffer overflow in ngtcp2, a C implementation of the IETF QUIC protocol, affects all versions prior to 1.22.1 when the qlog logging callback is enabled. The function ngtcp2_qlog_parameters_set_transport_params() serializes peer-supplied QUIC transport parameters into a fixed 1024-byte stack buffer without bounds checking, so a remote peer can send oversized transport parameters during the handshake to write past the buffer and crash the process (availability impact per CVSS 7.5). SSVC lists exploitation status as 'poc' and there is publicly available exploit code exists, but EPSS is very low at 0.04% (12th percentile), and it is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to ngtcp2 1.22.1 or later, which addresses the overflow (fix commit 708a7640c1f48fb8ffb540c4b8ea5b4c1dfb8ee5). Red Hat users should apply the corresponding errata: RHSA-2026:9113, RHSA-2026:22963, or RHSA-2026:25049 as applicable to their release. If immediate upgrade is not possible, the vendor-recommended workaround is to disable the qlog callback on the client (do not register/enable qlog), which removes the vulnerable code path entirely; the trade-off is loss of QUIC event logging/observability used for debugging. Reference the upstream advisory at https://github.com/ngtcp2/ngtcp2/security/advisories/GHSA-f523-465f-8c8f and the oss-security disclosure at http://www.openwall.com/lists/oss-security/2026/04/17/12. Note: the public fix commit shown enlarges the stack buffer from 1024 to 2048 bytes; verify you are on the tagged 1.22.1 release rather than relying on buffer resizing alone, since a larger fixed buffer without full bounds checking may not eliminate all overflow conditions.

Affected VersionsENISA

ngtcp2 < 1.22.1

Affected Packages

euvd ngtcp2 fix: 1.22.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ngtcp2 is a widely-embedded QUIC transport library (used underneath HTTP/3 stacks such as those built on nghttp3/curl) that exposes an optional qlog callback for standardized QUIC event logging. The root cause is CWE-121 (Stack-Based Buffer Overflow): during handshake, peer transport parameters are serialized into a fixed on-stack array uint8_t buf[1024] inside lib/ngtcp2_qlog.c with no length validation against the actual serialized size. Because QUIC transport parameters are attacker-controllable and can be large, the serialization overruns the stack frame. The affected component is only reached when the application registers a qlog callback and processes untrusted peer parameters, which is why the CPE (cpe:2.3:a:ngtcp2:ngtcp2:*) is qualified by a runtime configuration precondition rather than being universally exploitable.

Know when Ngtcp2 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remote unauthenticated peer triggers the overflow with low complexity during handshake; qlog-enabled precondition sits on victim config not attacker, so PR:N/AC:L retained and impact scored conservatively as availability-only crash.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Patch released
Apr 20, 2026 - 16:16 nvd
Patch available
Patch available
Apr 16, 2026 - 22:46 EUVD
CVE Published
Apr 16, 2026 - 21:34 nvd
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

ngtcp2 (IETF QUIC protocol library) versions prior to 1.22.1 contain a remotely triggerable stack buffer overflow in the qlog logging callback that enables denial of service attacks. Publicly available exploit code exists but active exploitation remains rare (EPSS 0.04%). Organizations deploying ngtcp2-dependent applications should prioritize patching to prevent process crashes and service availability impact.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigation: disable qlog logging callback until patch can be deployed (eliminates attack surface but may impact diagnostic capabilities).

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Medium
QUIC/HTTP/3 library embedded in some stacks and shipped by Red Hat, not ubiquitous
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise High Performance Computing 12 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Web and Scripting 15 SP7 Fixed
SUSE Linux Enterprise Module for Web and Scripting 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy