CVE-2026-46340

Netty: SCTP reassembly nests buffers without bound

Published Jun 12, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Netty is a network application framework for development of protocol servers and clients. In versions of netty-transport-sctp prior to 4.1.135.Final and 4.2.15.Final, 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. Versions 4.1.135.Final and 4.2.15.Final patch the issue.

Analysis

AI-generated

Technical impact

This vulnerability occurs in Netty's SCTP reassembly logic, where each incomplete fragment is wrapped into a new CompositeByteBuf, creating an unbounded chain of buffers. Without any limits on fragment count, total size, or stream identifiers, an attacker can send many small fragments that never set the complete flag, causing the accumulator to grow indefinitely. The effect is uncontrolled memory allocation that may exhaust the JVM heap and lead to application crashes or significant performance degradation. This weakness is a classic case of uncontrolled memory consumption (CWE‑770).

Affected Systems

Affected instances are Netty implementations that use the netty‑transport-sctp module in versions prior to 4.1.135.Final and 4.2.15.Final. The fix is included in Netty releases 4.1.135.Final and 4.2.15.Final.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity. The EPSS score is listed as less than 1 %, implying a low predicted likelihood of exploitation, and the vulnerability is not currently in CISA’s KEV catalog. In practice, the attack requires an external host that can send SCTP packets to the target application, so the attack vector is remote over the network. An attacker could achieve denial of service by exhausting memory, potentially causing an out‑of‑memory error or a crash that interrupts service availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Netty to version 4.1.135.Final or 4.2.15.Final or later, which includes the patch that limits the buffer chaining.
  • If an immediate upgrade is not possible, implement application‑level checks to reject or limit SCTP fragments that are excessively large or inordinate, and consider configuring network filters to cap the size of incoming SCTP packets.
  • Monitor JVM memory usage and application logs for signs of abnormal CompositeByteBuf allocations or out‑of‑memory conditions, and alert administrators when thresholds are crossed.

Generated by OpenCVE AI on June 12, 2026 at 15:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5xrh-qmmq-w6ch Netty: SCTP reassembly nests buffers without bound
History
Type Values Removed Values Added
CPEs cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Netty
Netty netty
Vendors & Products Netty
Netty netty
Type Values Removed Values Added
Description Netty is a network application framework for development of protocol servers and clients. In versions of netty-transport-sctp prior to 4.1.135.Final and 4.2.15.Final, 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. Versions 4.1.135.Final and 4.2.15.Final patch the issue.
Title Netty: SCTP reassembly nests buffers without bound
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 18, 2026, 12:04 PM
Reserved
May 13, 2026, 6:37 PM
Status
Modified
Published
Jun 12, 2026, 3:16 PM
Modified
Sep 18, 2026, 1:18 PM
Severity
Important
Public date
Jun 12, 2026, 2:19 PM