๐Ÿ” CVE Alert

CVE-2026-100657

HIGH 7.5

Netty before 4.1.138.Final ByteBuf Leak in StompSubframeDecoder

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

Netty's STOMP codec (io.netty:netty-codec-stomp) contains a ByteBuf leak in StompSubframeDecoder. Once a frame's declared content-length has been fully read, the decoder allocates a chunk buffer from the channel allocator and parks it in an instance field while waiting for the single NUL byte that terminates the frame. If that byte never arrives, the buffer is never released: the replay Signal thrown by skipNullCharacter extends Error rather than Exception, so the decoder's catch(Exception) release path does not run, and StompSubframeDecoder overrides neither handlerRemoved0 nor channelInactive, so the buffer also survives channel teardown. A remote peer can leak one allocator buffer per connection by sending a complete, well-formed frame body and withholding its terminating NUL byte; with the default pooled allocator the memory is never returned to the pool or reclaimed by garbage collection, so the leak accumulates for the lifetime of the process and can lead to memory exhaustion. This affects versions up to and including 4.1.137.Final and versions 4.2.0.Final through 4.2.17.Final; it is fixed in 4.1.138.Final and 4.2.18.Final.

CWE CWE-772
Vendor netty
Product netty
Published Sep 26, 2026
Stay Ahead of the Next One

Get instant alerts for netty netty

Be the first to know when new high vulnerabilities affecting netty netty are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

netty / netty
0 < 4.1.138.Final
netty / netty
4.2.0.Final < 4.2.18.Final

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/netty/netty/security/advisories/GHSA-ghg5-c4jg-8q5j vulncheck.com: https://www.vulncheck.com/advisories/netty-before-4.1.138-final-bytebuf-leak-in-stompsubframedecoder

Credits

๐Ÿ” rajivraj ๐Ÿ” Michael-JRead chriswnowak Thomas-Read ๐Ÿ” Shirshakhtml