CVE-2026-46340: Netty: SCTP reassembly nests buffers without bound
For each non-complete SctpMessage fragment the handler does fragments.put(streamId, Unpooled.wrappedBuffer(frag, byteBuf)), wrapping the previous accumulator and the new slice into a new CompositeByteBuf every time. After N fragments the accumulator is an N-deep chain of composites, each holding references and component arrays; readableBytes()/getBytes() on the final buffer recurse N levels.
Published Jun 8, 2026 · Updated Jun 12, 2026
Affected packages
io.netty:netty-transport-sctp
- Ecosystem
- Maven
- Affected
- >= 4.2.0.Final, <= 4.2.14.Final
- Fixed in
- 4.2.15.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-transport-sctp
io.netty:netty-transport-sctp
- Ecosystem
- Maven
- Affected
- <= 4.1.134.Final
- Fixed in
- 4.1.135.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-transport-sctp
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
For each non-complete SctpMessage fragment the handler does fragments.put(streamId, Unpooled.wrappedBuffer(frag, byteBuf)), wrapping the previous accumulator and the new slice into a *new* CompositeByteBuf every time. After N fragments the accumulator is an N-deep chain of composites, each holding references and component arrays; readableBytes()/getBytes() on the final buffer recurse N levels. There is no limit on N, on total bytes, or on the number of streamIdentifiers an attacker can open (each gets its own map entry). A peer that never sets the complete flag can grow this structure indefinitely from tiny 1-byte DATA chunks.
References
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
