Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Java

CVE-2026-69210 — http4s WebSocket decoder accepts negative length, causing infinite decode loop

High · CVSS 7.5EPSS 0.6% First seen November 30, 2026

One of 2 maven:org.http4s:http4s-core 2.12 vulnerabilities published together by GitHub Advisory.

JavaWebVulnerabilitiesEndpoint security

Research article

http4s-core WebSocket decoder accepts negative frame length, enabling infinite-loop denial of service

CVECVE-2026-69210
Vendor and productmaven:org.http4s:http4s-core 2.12; maven:org.http4s:http4s-core 2.13; maven:org.http4s:http4s-core 3
PublishedNovember 30, 2026 18:30 UTC
Research cut-offNovember 30, 2026 18:25 UTC
Sources reviewed3: NVD record (last modified 2026-09-17); CISA KEV catalog; GitHub advisory (2026-11-30)

Executive summary

CVE-2026-69210 is a denial-of-service flaw in the WebSocket frame decoder of the http4s-core module, reached through the http4s-ember-server component [1, 3]. The NVD record carries CVSS 3.1 base score 7.5 (High) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, scored by GitHub [1, 3]. Per the GitHub advisory, the decoder accepts a negative extended payload length, which makes decoding loop without end, pin one worker at 100% CPU and grow memory without bound [3]. The advisory lists affected http4s-core ranges below 0.23.35 and from 1.0.0-M2 up to but excluding 1.0.0-M47, with fixes in 0.23.35 and 1.0.0-M47 [3]; the NVD record gives a slightly different lower bound for the 1.0 line [1]. Exploitation requires a server with a WebSocket endpoint through Ember and a client that completes the WebSocket handshake [3]. The CVE is not listed in CISA's Known Exploited Vulnerabilities catalog as of 2026-11-30, which does not show that it has not been exploited [2]. The most important immediate action is to identify builds that resolve http4s-core in the affected ranges and upgrade them to 0.23.35 or 1.0.0-M47, while removing public exposure of WebSocket routes until the upgrade is verified [1, 3].

Key points

  • CVE-2026-69210 is a denial-of-service flaw in the http4s-core WebSocket decoder; the bodyLength check rejects only values above Integer.MAX_VALUE, so negative lengths pass and the decode loop never ends [3].
  • CVSS 3.1 base score 7.5 (High), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, scored by GitHub [1, 3].
  • Exploitation requires a WebSocket endpoint served by http4s-ember-server and a completed WebSocket handshake; the vector shows no privileges or user interaction needed [1, 3].
  • Affected: http4s-core below 0.23.35 and from 1.0.0-M2 (NVD says M1) up to 1.0.0-M47; fixed in 0.23.35 and 1.0.0-M47 [1, 3].
  • CISA KEV does not list the CVE as of 2026-11-30; exploitation in the wild is Unknown, and the advisory gives no workaround [2, 3].
  • Immediate action: find builds resolving the affected http4s-core versions, upgrade to 0.23.35 or 1.0.0-M47, and restrict public WebSocket routes until verified [1, 3].

Vulnerability identification

FieldValue
CVE IDCVE-2026-69210 [1]
Vendor and producthttp4s project, http4s [1]
Affected componentWebSocket FrameTranscoder.bodyLength function in the http4s-core module; denial-of-service effect observed through http4s-ember-server [3]
Record publicationNVD: 2026-09-15T20:17:40 [1]. GitHub advisory GHSA-3j86-pj9g-jchr: 2026-11-30T18:08:11 [3]
Last modifiedNVD: 2026-09-17T17:16:46 [1]. GitHub advisory: 2026-11-30T18:08:53 [3]
Record statusDeferred in NVD [1]
CWE classificationCWE-835 Loop with Unreachable Exit Condition ('Infinite Loop'), a loop that has no reachable exit [1, 3]. CWE-1284 Improper Validation of Specified Quantity in Input, a check that does not properly constrain a numeric quantity from input [1, 3]
CVSS 3.1 base score7.5, High; vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; scored by GitHub. NVD lists this as a Secondary score [1, 3]
CISA KEV statusNot listed as of 2026-11-30 [2]
Related identifiersGHSA-3j86-pj9g-jchr [1, 3]. NVD references include a fixing commit and release tags for 0.23.35 and 1.0.0-M47 [1]

The GitHub advisory text does not state a CVE identifier, but its database entry pairs GHSA-3j86-pj9g-jchr with CVE-2026-69210 [3]. The CVSS score and vector agree between the two sources, so there is no scoring discrepancy [1, 3].

Vulnerability description

The flaw breaks the availability property. A WebSocket frame carries a payload length that can be given as a 64-bit extended field. The bodyLength function in http4s-core checks that value only against an upper bound equal to Integer.MAX_VALUE, so values below zero get through [3]. A decoder that receives such a value returns an empty frame and does not move its input position forward, so the decode loop never ends and cannot be interrupted [3]. The result is that one worker thread is held at full CPU and the ArrayBuffer memory it uses grows without bound [3]. The advisory states that a single frame is enough to produce this effect [3].

Conditions that matter: the server must expose a WebSocket endpoint served by the Ember server, and the attacker must complete the WebSocket handshake [3]. The CVSS vector indicates no privileges and no user interaction are needed, and that the attack is reachable over the network [1].

What the evidence does not establish: the vector assigns no confidentiality or integrity impact [1]. Neither source reports data disclosure, modification or code execution [1, 3]. The advisory names one worker; it does not measure whether several connections can exhaust a whole server [3].

Technical background

WebSocket is a protocol that upgrades an HTTP connection into a long-lived, bidirectional channel. After the handshake, data moves in frames. The advisory cites RFC 6455 section 5.2, the Base Framing Protocol, as background for the frame layout [3]. In that layout, a field called the extended payload length can carry a 64-bit value that tells the receiver how many payload bytes follow. A receiver must validate this value before it allocates buffers or decides how far to advance its input position [3].

http4s is a Scala library for HTTP services. Ember is its server backend, and the advisory states that the denial-of-service effect is seen through http4s-ember-server while the defect sits in http4s-core [3].

Root cause analysis

Confirmed by the advisory: the length check in bodyLength is an upper-bound check only, and negative values are accepted [3]. Also confirmed: with a negative length the decoder yields an empty frame, leaves the input position unchanged, and therefore repeats the same state indefinitely [3].

Analyst assessment: the root cause is missing lower-bound validation of the extended length, which corresponds to CWE-1284 [1, 3]. The absence of forward progress in the decode loop, which corresponds to CWE-835, is the reason the missing check turns into a hang rather than a rejected frame [1, 3]. A check that rejects negative values and a guard that requires the input position to advance would each close the condition, but the vendor's exact fix is not described in the pack.

Unknown: why the upper-bound check was written without a lower bound, and what the fixing commit changed. The commit is referenced in NVD [1], but its contents are not in the pack.

Technical mechanics

  1. A client completes the WebSocket handshake with a server route served by Ember [3].
  2. The server reads the frame header and the 64-bit extended payload length [3].
  3. bodyLength compares the value with Integer.MAX_VALUE. Only values above that limit are rejected, so a negative value passes [3].
  4. The decoder produces an empty frame and leaves the input buffer position where it was [3].
  5. The decode loop calls the same step again with the same state, so it never exits [3].
  6. The worker thread stays at 100% CPU and memory held in an ArrayBuffer keeps growing [3].

The control that should have stopped this is validation of the length against both bounds at step 3, together with a progress requirement in the decode loop at step 5 [Analyst assessment, based on [1, 3]]. No source states which of these the fixed code adds.

Attack surface and exploitation prerequisites

DimensionStatusSource
Network accessNetwork-reachable per AV:N [1]S1
AuthenticationNone required per PR:N [1]S1
User interactionNone per UI:N [1]S1
Required configurationWebSocket endpoint exposed through the Ember server [3]S3
HandshakeAttacker must complete the WebSocket handshake [3]S3
ScopeUnchanged, S:U [1]S1
Whether the handshake or route needs authorizationNot established by the reviewed sourcesGap

The authentication and interaction values come from the CVSS vector and are not confirmed by the advisory text [1]. The advisory's handshake requirement is the only stated precondition beyond the endpoint itself [3].

Impact analysis

Security propertyTechnically demonstrated (per advisory)Plausible downstream effect (analyst assessment)
ConfidentialityNone assigned by the vector, C:N [1]None identified in the sources
IntegrityNone assigned by the vector, I:N [1]None identified in the sources
AvailabilityOne worker at 100% CPU; unbounded ArrayBuffer memory growth [3]. Vector A:H [1]Degraded or stopped service for requests handled by the affected worker, possibly memory exhaustion of the process
Authentication and authorizationNot affected per the sourcesNot assessed
Privilege boundariesScope unchanged, S:U [1]None identified
Data and privacyNot reported [1, 3]Not assessed
Regulatory or contractualNot addressed in the sourcesDepends on the availability commitments of the affected service

Affected products and versions

Package (vendor)Affected versionsFixed versionSource and qualification
org.http4s:http4s-core_2.12Below 0.23.350.23.35GitHub advisory [3]
org.http4s:http4s-core_2.13Below 0.23.350.23.35GitHub advisory [3]
org.http4s:http4s-core_2.13From 1.0.0-M2 up to but excluding 1.0.0-M471.0.0-M47GitHub advisory [3]
org.http4s:http4s-core_3Below 0.23.350.23.35GitHub advisory [3]
org.http4s:http4s-core_3From 1.0.0-M2 up to but excluding 1.0.0-M471.0.0-M47GitHub advisory [3]
http4s (CVE record)Below 0.23.35, and from 1.0.0-M1 up to but excluding 1.0.0-M470.23.35 and 1.0.0-M47Vendor-supplied in the CVE record, as shown in NVD [1]

Discrepancy: the NVD record starts the 1.0 range at 1.0.0-M1 [1], while the GitHub advisory starts it at 1.0.0-M2 [3]. The reviewed sources do not show whether 1.0.0-M1 is affected, so the lower bound for that milestone is unresolved. The GitHub advisory is the more specific source for packages, but the pack contains no vendor release note that settles the question [1, 3].

The advisory lists no version details for Ember and does not say that the Ember server package is itself affected [3]. The defect is located in http4s-core [3]. Earlier versions below 0.23.35 are covered by the stated range, but the sources say nothing about how far back the defect extends.

Exploitation and threat intelligence status

  • CISA KEV: not listed as of 2026-11-30 [2]. CISA states that the absence of an entry is not evidence that the CVE has not been exploited [2].
  • Advisory status: the advisory describes the mechanism and impact but does not state whether exploitation has been observed [3].
  • Public proof of concept: no exploit reference or proof of concept appears in the pack. Whether one exists is not established.
  • Threat actors, campaigns and targeted sectors: none attributed in the pack.

The status is therefore: the impact is described by the vendor's advisory [3], but confirmed exploitation in the wild is Unknown.

Detection and exposure assessment

  1. Inventory: list every build, container image or deployment that resolves org.http4s:http4s-core in the affected ranges given above [3]. Use the dependency listing of the build tool in use (for example, the Maven or sbt dependency tree) to show the resolved http4s-core version. This is read-only. The expected output is the resolved artifact and version. Transitive dependencies can hide the version, so check the resolved tree rather than only the top-level build file.
  2. Exposure: confirm whether the service uses http4s-ember-server and exposes a WebSocket route [3]. A service without a WebSocket route is not exposed to the described decoder path [3].
  3. Runtime symptoms: the advisory describes one worker at 100% CPU and growing ArrayBuffer memory [3]. Compare CPU and heap or direct-buffer memory per worker thread against a baseline for the same service. A sustained, non-decreasing CPU profile on one thread with rising buffer memory matches the described symptom but is not proof of exploitation.
  4. Logs: the pack gives no log events, event fields or network signatures for this issue [3]. Do not treat the absence of such events as evidence of safety.

A version check shows whether the component is in the affected range. It does not show that the endpoint can be reached or that it has been attacked.

Remediation

Immediate mitigation. The advisory lists no workaround [3]. The following measures follow from the stated preconditions and are analyst recommendations, not vendor-confirmed fixes [3]:

  1. Remove public access to the WebSocket route, or restrict it at the load balancer or reverse proxy to known clients. This protects against the precondition of reaching the endpoint [3]. Limitation: real-time features that depend on WebSocket stop working. Verify from outside the allowed network that the route refuses connections.
  2. Alert on sustained CPU at or near 100% on a single worker thread, and on steadily growing buffer memory in the affected process [3]. This detects the described symptom but does not stop it.

Permanent fix. Upgrade http4s-core to 0.23.35 on the 0.23 line, or to 1.0.0-M47 on the 1.0 milestone line [1, 3]. Both fixed versions are listed as vendor-supplied in the NVD references and the GitHub advisory [1, 3]. Upgrade prerequisites: match the Scala binary suffix (_2.12, _2.13 or _3) to the existing build; the pack does not list other dependency changes. Maintenance window and rollback: keep the prior artifact for rollback. Restart requirement: not stated in the sources. Configuration changes after upgrade: none documented in the sources. Verify by repeating the dependency listing from the detection section and confirming the resolved version is 0.23.35 or 1.0.0-M47, and that no WebSocket route remains exposed until the verification passes.

Vendor-confirmed fixes are the two versions above [1, 3]. Lower-bound validation and a progress guard in the decode loop are the analyst's understanding of the defect, not vendor-confirmed changes [3].

Workarounds and compensating controls

No workaround is listed in the pack [3]. Restricting the WebSocket route, described above, reduces exposure but leaves the defect in place. It is not equivalent to upgrading, because any client that can still reach the route keeps the ability to trigger the decode loop [3].

Remediation checklist

  1. Inventory every build, image and deployment that depends on org.http4s:http4s-core, including _2.12, _2.13 and _3 artifacts, and record the resolved version from the build tool's dependency tree; affected means below 0.23.35, or from 1.0.0-M2 (NVD: M1) up to but excluding 1.0.0-M47 [1, 3].
  2. Identify which of those services use http4s-ember-server with a WebSocket route; these are the exposed services [3].
  3. Immediately restrict the WebSocket route on those services at the load balancer or reverse proxy to known clients, and confirm from outside the allowed network that connections are refused. Analyst recommendation; the advisory lists no workaround [3].
  4. Alert on one worker thread at sustained near-100% CPU together with growing buffer memory in the affected process, using the baseline of the same service. Symptom-based detection only [3].
  5. Upgrade http4s-core to 0.23.35 on the 0.23 line, keeping the Scala suffix that matches the build [1, 3].
  6. Upgrade http4s-core to 1.0.0-M47 on the 1.0 milestone line, keeping the Scala suffix that matches the build [1, 3].
  7. After each upgrade, repeat the dependency tree check and confirm the resolved version is 0.23.35 or 1.0.0-M47 in every artifact that includes http4s-core [1, 3].
  8. Keep the prior artifact for rollback during the maintenance window; the sources do not state whether a restart is required, so confirm in a test environment [3].
  9. Re-expose the WebSocket route only after the version check passes and a controlled test confirms that the service keeps responding under load [Analyst assessment].
  10. Review the NVD record status (Deferred) and the GitHub advisory for updates before closing the item, since the record was last modified on 2026-09-17 and the advisory on 2026-11-30 [1, 3].

Evidence gaps

  • Not established by the reviewed sources: whether 1.0.0-M1 is affected; the NVD record and the GitHub advisory disagree on the lower bound of the 1.0 range (M1 versus M2) [1, 3]. Settling it needs the vendor's release notes or the fixing commit diff.
  • Not established by the reviewed sources: versions below 0.23 and any other http4s modules or backends that share the same decoder code, so the complete affected range is unknown [3]. The vendor advisory or the fixing commit would settle this.
  • Not established by the reviewed sources: the exact code change in the fixed releases, including whether a lower-bound check or a progress guard was added [1, 3]. The commit diff referenced in NVD would settle this.
  • Not established by the reviewed sources: whether a restart or reload is required after upgrading, and any configuration change needed afterward [3]. The vendor upgrade notes would settle this.
  • Not established by the reviewed sources: whether exploitation has occurred in the wild, and whether public exploit code exists; CISA KEV does not list the CVE as of 2026-11-30 [2, 3]. Vendor, CISA or threat intelligence reporting would settle this.
  • Not established by the reviewed sources: indicators of compromise, log events and network signatures for this issue [3]. Incident reporting or vendor detection guidance would settle this.
  • Not established by the reviewed sources: whether the WebSocket handshake or route requires authentication or authorization in a typical http4s deployment, which determines real-world reachability [1, 3]. Documentation of the default http4s Ember WebSocket setup would settle this.
  • Not established by the reviewed sources: whether several connections can exhaust a whole server rather than one worker, and how many frames the attack needs in practice [3]. Vendor testing results or a reproducible technical analysis would settle this.
  • Not established by the reviewed sources: the status of the NVD record, which is Deferred [1]. Its final analysis and any change to CVSS or CWE classification would settle this.

References

  1. CVE-2026-69210 record. NIST National Vulnerability Database (NVD), 2026-09-17. https://nvd.nist.gov/vuln/detail/CVE-2026-69210. Accessed 2026-11-30. CVE record status (Deferred), publication and last-modified dates, CVSS 3.1 score and vector with scorer, CWE mappings, vendor-published affected range including the 1.0.0-M1 lower bound, and the NVD reference list with fixing commit and release tags for 0.23.35 and 1.0.0-M47.
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-30. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-30. CISA KEV status: CVE-2026-69210 not listed as of 2026-11-30, and CISA's statement that the absence of a listing is not evidence of no exploitation.
  3. GHSA-3j86-pj9g-jchr / CVE-2026-69210 — http4s WebSocket decoder accepts negative length, causing infinite decode loop. GitHub Security Advisory Database, 2026-11-30. https://github.com/advisories/GHSA-3j86-pj9g-jchr. Accessed 2026-11-30. Technical mechanism (bodyLength upper-bound check, negative length, empty frame with unchanged position, endless loop, CPU and ArrayBuffer memory effects), preconditions (Ember WebSocket endpoint and completed handshake), package-level affected and fixed versions for http4s-core artifacts, the 1.0.0

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on availability, none on confidentiality and integrity

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

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

Affected and fixed versions

ProductAffected versionsFixed in
org.http4s:http4s-core_2.12 (Maven)< 0.23.350.23.35
org.http4s:http4s-core_2.13 (Maven)< 0.23.350.23.35
≥ 1.0.0-M2, < 1.0.0-M471.0.0-M47
org.http4s:http4s-core_3 (Maven)< 0.23.350.23.35
≥ 1.0.0-M2, < 1.0.0-M471.0.0-M47
http4s< 0.23.35, >= 1.0.0-M1, < 1.0.0-M47—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

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.

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

Source: GHSA-3j86-pj9g-jchr / CVE-2026-69210, GitHub Advisory Database, licensed CC BY 4.0.

Affected

  • maven:org.http4s:http4s-core 2.12
  • maven:org.http4s:http4s-core 2.13
  • maven:org.http4s:http4s-core 3

Frequently asked questions

What is CVE-2026-69210?

CVE-2026-69210 is a denial-of-service flaw in the WebSocket frame decoder of the http4s-core module, reached through the http4s-ember-server component. The NVD record carries CVSS 3.1 base score 7.5 (High) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, scored by GitHub. Weakness type: Loop with Unreachable Exit Condition ('Infinite Loop') (CWE-835).

How severe is CVE-2026-69210?

CVE-2026-69210 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-69210 being exploited?

Not as far as is known: CVE-2026-69210 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-69210?

org.http4s:http4s-core_2.12 (Maven) < 0.23.35 (fixed in 0.23.35); org.http4s:http4s-core_2.13 (Maven) < 0.23.35 (fixed in 0.23.35); org.http4s:http4s-core_2.13 (Maven) ≥ 1.0.0-M2, < 1.0.0-M47 (fixed in 1.0.0-M47); org.http4s:http4s-core_3 (Maven) < 0.23.35 (fixed in 0.23.35); and more, listed on this page.

How do I fix CVE-2026-69210?

Inventory every build, image and deployment that depends on org.http4s:http4s-core, including 2.12, 2.13 and 3 artifacts, and record the resolved version from the build tool's dependency tree; affected means below 0.23.35, or from 1.0.0-M2 (NVD: M1) up to but excluding 1.0.0-M47. Identify which of those services use http4s-ember-server with a WebSocket route; these are the exposed services. Immediately restrict the WebSocket route on those services at the load balancer or reverse proxy to known clients, and confirm from outside the allowed network that connections are refused. Analyst recommendation; the advisory lists no workaround.

Timeline & sources

References

Related vulnerabilities & news