## http4s WebSocket decoder accepts negative length, causing infinite decode loop

- 種別: advisory
- 重大度: high
- 関連技術: java
- CVE: CVE-2026-69210
- 公開日時: 2026-11-30T18:08:11.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-3j86-pj9g-jchr)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-3j86-pj9g-jchr

影響: maven:org.http4s:http4s-core_2.12 < 0.23.35 → 0.23.35, maven:org.http4s:http4s-core_2.13 < 0.23.35 → 0.23.35, maven:org.http4s:http4s-core_3 < 0.23.35 → 0.23.35, maven:org.http4s:http4s-core_2.13 >= 1.0.0-M2, < 1.0.0-M47 → 1.0.0-M47, maven:org.http4s:http4s-core_3 >= 1.0.0-M2, < 1.0.0-M47 → 1.0.0-M47
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. Impact A single frame can pin…