Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. h3
  4. ›
  5. GHSA-q5pr-72pq-83v3

GHSA-q5pr-72pq-83v3: H3: Unbounded Chunked Cookie Count in Session Cleanup Loop may Lead to Denial of Service

March 23, 2026 (updated September 30, 2026)

The setChunkedCookie() and deleteChunkedCookie() functions in h3 trust the chunk count parsed from a user-controlled cookie value (__chunked__N) without any upper bound validation. An unauthenticated attacker can send a single request with a crafted cookie header (e.g., Cookie: h3=__chunked__999999) to any endpoint using sessions, causing the server to enter an O(n²) loop that hangs the process.

References

  • github.com/advisories/GHSA-q5pr-72pq-83v3
  • github.com/h3js/h3/commit/399257cb406fbeda313d88c1e288a15124fc82af
  • github.com/h3js/h3/releases/tag/v2.0.1-rc.18
  • github.com/h3js/h3/security/advisories/GHSA-q5pr-72pq-83v3
  • nvd.nist.gov/vuln/detail/CVE-2026-86250
  • www.vulncheck.com/advisories/h3-before-2.0.1-rc.18-denial-of-service-via-unbounded-chunked-cookie

Code Behaviors & Features

Detect and mitigate GHSA-q5pr-72pq-83v3 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0-beta.4 before 2.0.1-rc.18

Fixed versions

  • 2.0.1-rc.18

Solution

Upgrade to version 2.0.1-rc.18 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/h3/GHSA-q5pr-72pq-83v3.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:20 +0000.