Maven
CVE-2026-69210
http4s WebSocket decoder accepts negative length, causing infinite decode loop
- Severity
- High 7.5
- Published
- 30 Nov 2026
- Last changed
- 30 Nov 2026
- Added to UpHeron
- 30 Nov 2026
- Fixed in
- 0.23.35, 1.0.0-M47
- Exploit chance
- 0.6% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 30 Nov 2026
- Weakness
- CWE-1284Infinite loop (CWE-835)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-3j86-pj9g-jchr
- Sources
- OSV.dev and GitHub
Description
WebSocket's FrameTranscoder.bodyLength reads a 64-bit extended payload length and rejects only values greater than Integer.MAX_VALUE. A negative length passes validation. This makes the decoder return an empty frame without advancing the buffer, and drives the decode loop into an uninterruptible infinite loop. This pins a CPU and grows an ArrayBuffer unbounded.
The defective transcoder is in http4s-core, but the denial of service manifests with http4s-ember-server.
A single frame can pin one worker at 100% CPU in an uninterruptible loop and grows memory unboundedly, resulting in a denial of service.
- Server exposes a WebSocket endpoint via an Ember server.
- Attacker completes the WebSocket handshake.
Workarounds
None
Affected software
| Software | Affected versions |
|---|---|
org.http4s:http4s-core_2.12Maven · osv:Maven:org.http4s:http4s-core_2.12 |
|
org.http4s:http4s-core_2.13Maven · osv:Maven:org.http4s:http4s-core_2.13 |
|
org.http4s:http4s-core_3Maven · osv:Maven:org.http4s:http4s-core_3 |
|
About org.http4s:http4s-core_2.12
Vulnerabilities in org.http4s:http4s-core_2.12
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-69211http4s: Set-Cookie rendering does not escape attribute delimitersMedium 4.8 30 Nov 2026
About org.http4s:http4s-core_2.13
Vulnerabilities in org.http4s:http4s-core_2.13
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-69211http4s: Set-Cookie rendering does not escape attribute delimitersMedium 4.8 30 Nov 2026
About org.http4s:http4s-core_3
Vulnerabilities in org.http4s:http4s-core_3
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-69211http4s: Set-Cookie rendering does not escape attribute delimitersMedium 4.8 30 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-69210
- GitHub Advisory Database https://github.com/advisories/GHSA-3j86-pj9g-jchr