Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconSend single HTTP request with Cookie: h3=__chunked__999999
-
Deliverysession handler reads sentinel cookie
-
ExploitgetChunkedCookieCount() returns unbounded attacker integer
-
Installcleanup loop iterates N times
-
C2each iteration scans all set-cookie response headers
-
ExecuteO(n²) CPU exhaustion stalls Node.js event loop
-
Impactserver process hangs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target application must use h3 sessions - specifically, any endpoint that calls |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) captures the core risk accurately: unauthenticated network-reachable exploitation with no preconditions delivers complete availability loss. EPSS data is absent from the provided intelligence, precluding base-rate comparison. There is no CISA KEV listing and no standalone POC repository, so exploitation status is assessed as no public exploit identified at time of analysis - however, the GHSA advisory itself supplies a complete step-by-step exploit chain with exact cookie values, which effectively functions as a public PoC. The O(n²) growth means even modest count values (e.g., 50,000) are sufficient to saturate a single-core event loop before any request-rate limit fires; at 999,999 the hang is near-instantaneous. Organizations running h3 2.x beta/rc for production API servers should treat this as urgent given the zero-prerequisite attack path. The scope is bounded to the 2.x pre-release series - h3 1.x deployments are unaffected, which limits the overall exposed population to early adopters of the beta/rc track. |
| Exploit ScenarioDerived | An unauthenticated attacker sends one HTTP GET request to any h3 2.x endpoint that uses sessions, with the header |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 06, 2026
Denial of service in h3 (npm package h3js/h3, versions 2.0.0-beta.4 through 2.0.1-rc.17) allows unauthenticated remote attackers to hang the Node.js server process with a single HTTP request. The setChunkedCookie() and deleteChunkedCookie() functions trust an attacker-controlled chunk count parsed from the sentinel cookie value (__chunked__N) without any upper bound, causing an O(n²) cleanup loop where each of up to N iterations scans all existing set-cookie response headers. No public standalone exploit repository has been identified, but the GHSA advisory publishes a complete exploit chain including exact cookie payloads, significantly lowering the exploitation bar.
RemediationAI
Upgrade to h3 version 2.0.1-rc.18 or later, which introduces upper-bound validation in getChunkedCookieCount() to cap the attacker-supplied integer. The fix is available as commit https://github.com/h3js/h3/commit/399257cb406fbeda313d88c1e288a15124fc82af and the full advisory is at https://github.com/h3js/h3/security/advisories/GHSA-q5pr-72pq-83v3. Where immediate upgrade is not feasible, deploy a reverse proxy or WAF rule that rejects Cookie headers containing the pattern __chunked__ followed by five or more digits (e.g., __chunked__[0-9]{5,}); this blocks the attack vector with negligible impact on legitimate chunked-cookie usage, which would never approach four-digit chunk counts. Per-source request-rate limiting at the ingress provides defense in depth but will not prevent a single-packet attack that hangs the event loop before the limit triggers.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
h3 is a lightweight Node.js HTTP utility framework in the unjs/Nuxt ecosystem (CPE: cpe:2.3:a:h3js:h3). It implements a chunked cookie mechanism to store large values by splitting them into numbered sub-cookies; the main cookie holds a sentinel string __chunked__N encoding the total count. The function getChunkedCookieCount() at src/utils/cookie.ts:244-249 calls Number.parseInt() on this attacker-supplied string without clamping the result, a textbook CWE-400 (Uncontrolled Resource Consumption) instance. The unchecked value is then used directly as a loop bound in setChunkedCookie() (lines 182-190) and deleteChunkedCookie() (lines 227-232). Because each loop iteration invokes deleteCookie() → setCookie(), which rescans all response set-cookie headers, the total work is O(n²) in the attacker-supplied count - a single request with count 999999 generates ~10^12 header-scan operations, blocking the JavaScript event loop indefinitely. The vulnerability is introduced in the 2.x beta/rc series; h3 1.x is unaffected.
Know when H3 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Unauthenticated single network request with no complexity causes process hang; no confidentiality or integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
h3 versions before 2.0.1-rc.18 fail to validate the chunk count parsed from user-controlled cookie values in setChunkedCookie() and deleteChunkedCookie() functions. Attackers can send a crafted cookie header with an extremely large chunk count to trigger an O(n²) cleanup loop that hangs the server process.
Blast Radius
ecosystem impact- 12 npm packages depend on h3 (6 direct, 6 indirect)
Ecosystem-wide dependent count for version 2.0.0-beta.4.
Technical POC Analysis
The flaw is in the h3 npm package's cookie chunking code in src/utils/cookie.ts.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Versions 2.0.0-beta.4 through 2.0.1-rc.17 of the h3 npm package contain a denial-of-service flaw that allows unauthenticated attackers to remotely crash Node.js applications with a single HTTP request, causing immediate service outage. Publicly available exploit code exists, meaning attackers do not require specialized knowledge to conduct attacks. With no vendor patch currently available, organizations must implement urgent defensive measures to protect production systems.
No vendor-released patch identified at time of analysis. Interim mitigations: Implement WAF rules to block HTTP requests containing __chunked__ cookie patterns; apply strict rate-limiting to all HTTP endpoints; run h3 applications behind a load balancer with health checks and automatic process restart capabilities; isolate affected Node.js instances to limit blast radius of denial-of-service attacks.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
HTTP request smuggling in H3 framework versions before 1.15.5 allows remote attackers to bypass security controls by exp
Path traversal in h3's serveStatic() function on Node.js allows unauthenticated remote attackers to read arbitrary files
Path traversal in h3's serveStatic utility (versions before 1.15.9) enables unauthenticated remote attackers to read arb
SSE event injection in the h3 JavaScript HTTP framework (npm package h3js/h3, versions before 1.15.9 stable and before 2
Open redirect in h3 (h3js) before 2.0.1-rc.18 allows unauthenticated remote attackers to redirect victims to arbitrary e
EUVD-2026-72106
GHSA-fg72-q65g-wm5w
NVD
CVE.org
EPSS
VulDB
Exploit-DB