CVE-2026-59902: Netty: Memory Exhaustion in SctpMessageCompletionHandler
Summary SctpMessageCompletionHandler does not limit the total size of buffered fragments, allowing an unauthenticated attacker to cause an OutOfMemoryError by sending large SCTP fragments. Details io.netty.handler.codec.sctp.SctpMessageCompletionHandler buffers fragments for incomplete SCTP messages.
Published Aug 17, 2026
Affected packages
io.netty:netty-transport-sctp
- Ecosystem
- Maven
- Affected
- >= 4.2.0.Final, <= 4.2.16.Final
- Fixed in
- 4.2.17.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-transport-sctp
io.netty:netty-transport-sctp
- Ecosystem
- Maven
- Affected
- <= 4.1.136.Final
- Fixed in
- 4.1.137.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-transport-sctp
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
SctpMessageCompletionHandler does not limit the total size of buffered fragments, allowing an unauthenticated attacker to cause an OutOfMemoryError by sending large SCTP fragments.
Details
io.netty.handler.codec.sctp.SctpMessageCompletionHandler buffers fragments for incomplete SCTP messages. The fix for CVE-2026-46340 fixed unbounded memory growth by introducing limits on the number of concurrent incomplete messages (maxIncompleteSctpMessages) and the number of fragments per message (maxFragments).
While the count of fragments is now bounded, the handler still does not enforce a maximum size in bytes.
With the default limits of 128 messages and 128 fragments, and a typical max SCTP chunk size of 64KB, an attacker can consume up to ~1GB per connection. By opening a small number of concurrent connections, an attacker can easily exhaust the server's memory, causing an OutOfMemoryError.
Impact
Memory Exhaustion. Any application using Netty's SCTP transport with SctpMessageCompletionHandler is impacted.
Credited to violetagg.
References
- https://github.com/netty/netty/security/advisories/GHSA-2qj4-mmr9-4v2f
- https://github.com/netty/netty/pull/17213
- https://github.com/netty/netty/pull/17217
- https://github.com/netty/netty/commit/1b5abc6443b63726c72cdd285af2feb7ddbb8ff7
- https://github.com/netty/netty/releases/tag/netty-4.1.137.Final
- https://github.com/netty/netty/releases/tag/netty-4.2.17.Final
- https://github.com/advisories/GHSA-2qj4-mmr9-4v2f
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
