{"id":"CVE-2026-69210","aliases":["CVE-2026-69210","GHSA-3j86-pj9g-jchr"],"related":[],"kind":"vulnerability","state":"published","title":"Http4s: WebSocket decoder accepts negative length, causing infinite decode loop","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nThe defective transcoder is in `http4s-core`, but the denial of service manifests with `http4s-ember-server`.\n\n## Impact\n\nA single frame can pin one worker at 100% CPU in an uninterruptible loop and grows memory unboundedly, resulting in a denial of service.\n\n## Preconditions\n\n- Server exposes a WebSocket endpoint via an Ember server.\n- Attacker completes the WebSocket handshake.\n\n## Workarounds\n\nNone\n\n## Resources\n\n- [RFC 6455 §5.2](https://www.rfc-editor.org/info/rfc6455/#section-5.2): Base Framing Protocol","format":"markdown","source":"ghsa"}],"published":"2026-09-15T19:19:04.868Z","modified":"2026-11-30T18:15:04.532Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-835","CWE-1284"],"affected":[{"ranges":[{"version":"< 0.23.35","status":"affected"},{"version":">= 1.0.0-M1, < 1.0.0-M47","status":"affected"}],"vendor":"http4s","product":"http4s","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-core_2.12","purl":"pkg:maven/org.http4s/http4s-core_2.12","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-core_2.13","purl":"pkg:maven/org.http4s/http4s-core_2.13","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-core_3","purl":"pkg:maven/org.http4s/http4s-core_3","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-M2","status":"affected","fixed":"1.0.0-M47"}],"ecosystem":"Maven","package":"org.http4s:http4s-core_2.13","purl":"pkg:maven/org.http4s/http4s-core_2.13","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-M2","status":"affected","fixed":"1.0.0-M47"}],"ecosystem":"Maven","package":"org.http4s:http4s-core_3","purl":"pkg:maven/org.http4s/http4s-core_3","source":"ghsa"}],"references":[{"url":"https://github.com/http4s/http4s/security/advisories/GHSA-3j86-pj9g-jchr","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/commit/c7d3ef90dc2ed1cd464968ab1b34f2f1762ddae2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/releases/tag/v0.23.35","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/releases/tag/v1.0.0-M47","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69210","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/http4s/http4s","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-17T16:45:07.781Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-69210","url":"https://www.cve.org/CVERecord?id=CVE-2026-69210","licence":"CVE Terms of Use","modified":"2026-09-17T16:45:18.332Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3j86-pj9g-jchr","url":"https://github.com/advisories/GHSA-3j86-pj9g-jchr","licence":"CC-BY-4.0","modified":"2026-11-30T18:15:04.532Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-69210","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69210","licence":"Public domain","modified":"2026-09-17T17:16:46.500Z"}],"updatedAt":"2026-11-30T18:47:11.246Z","epss":{"score":0.00466,"percentile":0.42022,"date":"2026-12-02T12:00:21.000Z"}}