Skip to main content

Java-WebSocket EUVDEUVD-2026-77090

| CVE-2026-90584 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-09-13 VulDB GHSA-9rqx-8vr7-9c9f
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to exposed WebSocket endpoint
  2. Delivery
    Complete RFC 6455 HTTP Upgrade handshake
  3. Exploit
    Send frame with 64-bit payload length near Integer.MAX_VALUE
  4. Execution
    Library attempts ~2 GiB heap allocation
  5. Impact
    JVM OutOfMemoryError crashes or stalls service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target must be running Java-WebSocket 1.6.0 or 1.6.1 with the default Draft_6455 constructor (no explicit maxFrameSize argument), which sets the limit to Integer.MAX_VALUE. The WebSocket endpoint must be network-reachable by the attacker. No authentication beyond completing the WebSocket protocol upgrade handshake is required - the payload-length field is parsed before any application-layer auth logic runs. The severity of impact scales with JVM heap configuration: a heap smaller than ~2 GiB will exhaust quickly; larger heaps delay but do not prevent the DoS. Applications that already pass a custom maxFrameSize at Draft_6455 instantiation are NOT vulnerable regardless of library version.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) correctly reflects a fully remote, unauthenticated, zero-complexity attack path - any client that can complete a WebSocket upgrade handshake can trigger the flaw. The provided VA:L (low victim availability impact) rating likely understates the real-world outcome: a single crafted frame declaring ~2 GiB triggers a JVM OutOfMemoryError that crashes or fatally stalls the hosting process rather than merely degrading throughput, which is more consistent with A:H. No EPSS score was included in the source data, so exploitation probability cannot be quantified through that signal; however, a public PoC (GitHub issue #1508) and trivial attack complexity together raise the operational urgency well above the raw 5.5 score implies. There is no CISA KEV listing and no evidence of in-the-wild exploitation at time of analysis. The absence of a shipped fix version - only an open PR - means defenders cannot simply apply a vendor patch, making interim configuration mitigations important. Even a mid-sized municipal IT team in leszno running an internet-exposed Java WebSocket service on version 1.6.x should treat this as immediate rather than routine, given the PoC availability and the lack of a released corrective build.

Exploit ScenarioDerived

A remote attacker opens a TCP connection to any internet-accessible Java-WebSocket 1.6.x endpoint, completes the standard RFC 6455 HTTP Upgrade handshake, then immediately sends a single binary WebSocket frame with the 64-bit extended payload length field set to a value near Integer.MAX_VALUE. The Draft_6455 handler reads the declared length and attempts to allocate ~2 GiB of Java heap before any payload data arrives, triggering an OutOfMemoryError that crashes the hosting JVM process. The public PoC at GitHub issue #1508 demonstrates this sequence and requires no special tooling beyond a WebSocket client capable of crafting raw frames.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 13, 2026

Unconstrained memory allocation in TooTallNate Java-WebSocket 1.6.0-1.6.1 allows remote unauthenticated attackers to exhaust server heap memory by sending WebSocket frames with arbitrarily large declared payload lengths. The Draft_6455 fragmentation handler initialized maxFrameSize to Integer.MAX_VALUE (~2 GiB), so the library attempts to allocate the full declared frame size before any payload data is actually received. A publicly available proof-of-concept exists via GitHub issue #1508; the upstream fix is in PR #1509 but has not yet shipped in a tagged release.

RemediationAI

The upstream fix is available in PR #1509 (https://github.com/TooTallNate/Java-WebSocket/pull/1509) but has not been merged or released in a tagged version as of this analysis - monitor the repository for a patched release and upgrade as soon as one ships. As an interim compensating control, instantiate Draft_6455 with an explicit maxFrameSize argument matching the intended fix: new Draft_6455(extensions, protocols, 16 * 1024 * 1024); this caps allocation at 16 MiB per frame and causes legitimate oversized frames to be rejected with LimitExceededException, which callers must handle. A secondary control is placing a reverse proxy or WAF in front of the WebSocket endpoint with WebSocket frame-size limits configured, though this does not address the parser-level behaviour directly and may not intercept all fragmented-frame sequences. Applications already supplying a custom maxFrameSize at Draft_6455 construction are unaffected.

Affected VersionsENISA

Java-WebSocket 1.6.0
Java-WebSocket 1.6.1

Affected Packages

euvd java_websocket no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

TooTallNate Java-WebSocket (CPE: cpe:2.3:a:tootallnate:java-websocket:*:*:*:*:*:*:*:*) is an open-source Java library implementing the RFC 6455 WebSocket protocol. The vulnerable code path is processFrameContinuousAndNonFin() in Draft_6455.java, which handles fragmented and non-fragmented WebSocket frames. CWE-770 (Allocation of Resources Without Limits or Throttling) is the precise root cause: the Draft_6455 constructor chain passed Integer.MAX_VALUE (2,147,483,647 bytes) as the default maxFrameSize, and no checkAlloc() override was present to enforce a lower ceiling. When the library reads the 64-bit payload-length field from an incoming WebSocket frame header, it immediately attempts to allocate the full declared size on the JVM heap prior to receiving actual payload data, enabling a single malformed frame to drive heap exhaustion. The PR #1509 fix introduces a DEFAULT_MAX_FRAME_SIZE constant of 16 MiB and overrides checkAlloc() to throw LimitExceededException when the declared length exceeds that cap.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 7.5 HIGH

No authentication required beyond WebSocket handshake; 2 GiB allocation attempt realistically crashes the JVM process, warranting A:H over A:L.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Sep 13, 2026 - 21:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Sep 13, 2026 - 20:15 cve.org
MEDIUM 5.5

DescriptionCVE.org

A weakness has been identified in TooTallNate Java-WebSocket up to 1.6.1. The impacted element is the function processFrameContinuousAndNonFin of the file Draft_6455.java of the component Fragmentation Handler. Executing a manipulation can lead to allocation of resources. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
popular open-source Java WebSocket client/server library
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy