All vulnerabilities

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.
From the GitHub Advisory Database, CC BY 4.0.

Workarounds

None

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
org.http4s:http4s-core_2.12Maven · osv:Maven:org.http4s:http4s-core_2.12
  • Every version before 0.23.35
org.http4s:http4s-core_2.13Maven · osv:Maven:org.http4s:http4s-core_2.13
  • Every version before 0.23.35
  • From 1.0.0-M2 before 1.0.0-M47
org.http4s:http4s-core_3Maven · osv:Maven:org.http4s:http4s-core_3
  • Every version before 0.23.35
  • From 1.0.0-M2 before 1.0.0-M47

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
Search the list for org.http4s:http4s-core_2.12

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
Search the list for org.http4s:http4s-core_2.13

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
Search the list for org.http4s:http4s-core_3

References