CVE-2026-69210

Http4s: WebSocket decoder accepts negative length, causing infinite decode loop

State
Published
Severity
7.5 High
Published
Sep 15, 2026
Updated
Sep 17, 2026
Reserved
Aug 3, 2026

Read the record on cve.org

Description

Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, WebSocket FrameTranscoder.bodyLength rejects extended payload lengths above Integer.MAX_VALUE but permits negative 64-bit lengths. A remote client that completes a WebSocket handshake through an Ember server can send such a frame, causing the decoder to return an empty frame without advancing its input. The decode loop then runs indefinitely, pins a worker at full CPU, and grows an ArrayBuffer without bound, resulting in denial of service. This issue is fixed in versions 0.23.35 and 1.0.0-M47.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
  • CWE-1284 Improper Validation of Specified Quantity in Input

Affected Products

ProductVersions
http4shttp4s
  • < 0.23.35Affected
  • >= 1.0.0-M1, < 1.0.0-M47Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.