CVE-2026-69210: Http4s core 2.13 Http4s WebSocket Decoder Accepts Negative Vulnerability
HIGHCVE-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
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).
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.
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-core_2.13</artifactId>
<version>0.23.35</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-core_3</artifactId>
<version>0.23.35</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-core_2.13</artifactId>
<version>1.0.0-M47</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-core_3</artifactId>
<version>1.0.0-M47</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-core_2.12</artifactId>
<version>0.23.35</version>
</dependency>
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
CVE-2026-69210 Affected Http4s core 2.13 Versions
5 component(s)| 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?
Which Http4s core 2.13 versions are affected?
What version fixes CVE-2026-69210?
Is http4s-core_2.13 affected?
Is http4s-core_3 affected?
What is the CVSS score of CVE-2026-69210?
What CWE is associated with CVE-2026-69210?
How can I check Maven dependencies for CVE-2026-69210?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}