CVE-2026-100657
Description
A flaw was found in the Netty STOMP codec. A remote attacker can trigger a memory leak by sending a complete frame body while withholding the terminating null byte, which prevents the allocated buffer from being released even after the connection is closed. Over time, repeated connections can cause continuous memory consumption, ultimately leading to a Denial of Service (DoS) due to memory exhaustion.
Statement
A flaw in the Netty STOMP codec (netty-codec-stomp), rated Important by Red Hat, affects Red Hat products that ship and use this component, including Red Hat Single Sign-On 7 and the Red Hat build of Apache Camel 4. A remote, unauthenticated attacker can connect to a service that uses the Netty STOMP codec and send a complete, well-formed STOMP frame body while withholding the single NUL byte that terminates the frame. The decoder allocates a buffer for the frame content but never releases it: the replay signal used while waiting for the terminator is not caught by the decoder's exception cleanup path, and the decoder has no release path at channel teardown. With the default pooled allocator the leaked memory is neither returned to the pool nor reclaimed by garbage collection, even after the connection is closed, so an attacker can repeat the pattern to consume memory monotonically until the service fails from memory exhaustion. The issue is reachable before any application-level authentication, because a STOMP frame can be sent immediately on connect. Within Red Hat's product set, only applications that actually process STOMP frames with this codec are exposed. Red Hat JBoss Fuse 7 ships the component but is not affected because the vulnerable code is not in the execute path. For the affected products where the component is used, a fix is being pursued through the respective product streams; for Red Hat JBoss Enterprise Application Platform 7.4, which ships the affected component, a fix is not currently planned. Red Hat and upstream CVSS v3 scores are identical (7.5, Important); upstream additionally publishes a CVSS v4 score of 8.7.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. The upstream project has released fixed versions of netty-codec-stomp (4.1.138.Final and 4.2.18.Final); Red Hat customers should apply product updates containing a fixed version of the component for their supported product streams when they become available. Only applications that actually handle STOMP frames with the Netty STOMP codec are exposed to this flaw.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7.5 | N/A | 7.5 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (Other); DoS: Resource Consumption (Memory); DoS: Resource Consumption (CPU)
An attacker that can influence the allocation of resources that are not properly released could deplete the available resource pool and prevent all other processes from accessing the same type of resource. Frequently-affected resources include memory, CPU, disk space, power or battery, etc.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.