CVE-2026-69210: Http4s core 2.13 Http4s WebSocket Decoder Accepts Negative Vulnerability

HIGH
Advisory Identifier: GHSA-3j86-pj9g-jchr
CVSS 7.5
CWE-1284 CWE-835
Published
Advisory Summary

CVE-2026-69210 is a HIGH (CVSS 7.5) http4s websocket decoder accepts negative vulnerability (CWE-1284: Improper Validation of Specified Quantity in Input) affecting Http4s core 2.13 libraries in the Maven ecosystem. The issue involves http4s websocket decoder accepts negative length, causing infinite decode loop. Remediation is available by upgrading affected packages to version 0.23.35, 1.0.0-M47.

CVE-2026-69210 at a Glance

CVE Identifier CVE-2026-69210
GHSA Identifier GHSA-3j86-pj9g-jchr
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-1284: Improper Validation of Specified Quantity in Input
Affected Product Http4s core 2.13
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-69210

To remediate this vulnerability, upgrade all affected Http4s core 2.13 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.http4s:http4s-core_2.13 fixed: 0.23.35
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-core_2.13</artifactId>
    <version>0.23.35</version>
</dependency>
org.http4s:http4s-core_3 fixed: 0.23.35
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-core_3</artifactId>
    <version>0.23.35</version>
</dependency>
org.http4s:http4s-core_2.13 fixed: 1.0.0-M47
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-core_2.13</artifactId>
    <version>1.0.0-M47</version>
</dependency>
org.http4s:http4s-core_3 fixed: 1.0.0-M47
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-core_3</artifactId>
    <version>1.0.0-M47</version>
</dependency>
org.http4s:http4s-core_2.12 fixed: 0.23.35
<dependency>
    <groupId>org.http4s</groupId>
    <artifactId>http4s-core_2.12</artifactId>
    <version>0.23.35</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.http4s

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-69210, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.http4s

Analyze the terminal output to locate any version of Http4s core 2.13 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.23.35), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.http4s command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1284: Improper Validation of Specified Quantity in Input, where the product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties. In Http4s core 2.13, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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 one worker at 100% CPU in an uninterruptible loop and grows memory unboundedly, resulting in a denial of service. ## Preconditions - Server exposes a WebSocket endpoint via an Ember server. - Attacker completes the WebSocket handshake. ## Workarounds None ## Resources - [RFC 6455 §5.2](https://www.rfc-editor.org/info/rfc6455/#section-5.2): Base Framing Protocol

CVE-2026-69210 Affected Http4s core 2.13 Versions

5 component(s)
Fixed Versions:
0.23.351.0.0-M47
Product / Package Ecosystem Affected Versions Fixed Version
org.http4s:http4s-core_2.13
Maven
< 0.23.35
0.23.35
org.http4s:http4s-core_3
Maven
< 0.23.35
0.23.35
org.http4s:http4s-core_2.13
Maven
≥ 1.0.0-M2
< 1.0.0-M47
1.0.0-M47
org.http4s:http4s-core_3
Maven
≥ 1.0.0-M2
< 1.0.0-M47
1.0.0-M47
org.http4s:http4s-core_2.12
Maven
< 0.23.35
0.23.35

References

Frequently Asked Questions

What is CVE-2026-69210?
CVE-2026-69210 is a security vulnerability in Http4s core 2.13 involving http4s WebSocket decoder accepts negative length, causing infinite decode loop under CWE-1284: Improper Validation of Specified Quantity in Input.
Which Http4s core 2.13 versions are affected?
Affected versions include releases prior to 0.23.35, 1.0.0-M47 across affected packages: org.http4s:http4s-core_2.13, org.http4s:http4s-core_3, org.http4s:http4s-core_2.12.
What version fixes CVE-2026-69210?
Upgrading to 0.23.35, 1.0.0-M47 (or the latest patched release for your respective branch) resolves the vulnerability.
Is http4s-core_2.13 affected?
Yes, org.http4s:http4s-core_2.13 is affected in releases prior to 0.23.35, 1.0.0-M47. Upgrade your dependency to 0.23.35, 1.0.0-M47 or later.
Is http4s-core_3 affected?
Yes, org.http4s:http4s-core_3 is affected in releases prior to 0.23.35, 1.0.0-M47. Upgrade your dependency to 0.23.35, 1.0.0-M47 or later.
What is the CVSS score of CVE-2026-69210?
CVE-2026-69210 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-69210?
CVE-2026-69210 is classified under CWE-1284: Improper Validation of Specified Quantity in Input (The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.).
How can I check Maven dependencies for CVE-2026-69210?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.http4s'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3j86-pj9g-jchr",
  "modified" : "2026-11-30T18:08:11Z",
  "published" : "2026-11-30T18:08:11Z",
  "aliases" : [ "CVE-2026-69210" ],
  "summary" : "http4s WebSocket decoder accepts negative length, causing infinite decode loop",
  "details" : "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",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-core_2.12"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.35"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-core_2.13"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.35"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-core_3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.35"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-core_2.13"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0-M2"
      }, {
        "fixed" : "1.0.0-M47"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.http4s:http4s-core_3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0-M2"
      }, {
        "fixed" : "1.0.0-M47"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/http4s/http4s/security/advisories/GHSA-3j86-pj9g-jchr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-69210"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/http4s/http4s/commit/c7d3ef90dc2ed1cd464968ab1b34f2f1762ddae2"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/http4s/http4s"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/http4s/http4s/releases/tag/v0.23.35"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/http4s/http4s/releases/tag/v1.0.0-M47"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1284", "CWE-835" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-30T18:08:11Z",
    "nvd_published_at" : "2026-09-15T20:17:40Z"
  }
}