Impact
The flaw in Netty's StompSubframeDecoder permits an attacker to send an unlimited number or total size of STOMP header lines. The decoder only limits the length of each line, not the count or cumulative size, causing memory to grow as each header is stored in a DefaultStompHeadersSubframe instance. When the accumulated headers exceed the JVM's available memory, an OutOfMemoryError is thrown, crashing or restarting the server. This results in a denial of service and is related to CWE‑400 and CWE‑770.
Affected Systems
Applications built with Netty versions earlier than 4.1.136.Final or 4.2.16.Final that expose a STOMP endpoint using StompSubframeDecoder are impacted.
Risk and Exploitability
The CVSS score of 7.5 indicates high severity. The EPSS value of less than 1% shows a low but non‑zero exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. A remote attacker that can reach the STOMP endpoint over the network can craft large numbers of short headers to trigger the bug, causing the server to run out of memory.
OpenCVE Enrichment
Github GHSA