Intel

AIKIDO-2026-994731

netty-codec-stomp is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-hmf3-49g9-g7qq Published Yesterday

53

Medium Risk

This Affects:

JAVAnetty-codec-stomp
0.0.1 - 4.1.137.Final
Fixed in 4.1.138.Final
4.2.0.Final - 4.2.17.Final
Fixed in 4.2.18.Final
Are you affected? Scan for Free

TL;DR

In StompSubframeDecoder the frame contentLength is held as a long but the running read count is an int. A crafted STOMP frame declaring an oversized content-length causes the count to truncate so the loop's termination condition is never met. The decoder then spins in an infinite loop, exhausting CPU and memory. The fix aligns the numeric types so the comparison terminates correctly.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application decodes STOMP frames from untrusted peers.

Background info

netty-codec-stomp is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 4.1.137.Final and 4.2.0.Final - 4.2.17.Final.

How to fix this

Upgrade the io.netty:netty-codec-stomp library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform