CVE-2026-50011

Netty has unbounded pre-allocation in RedisArrayAggregator from RESP array length

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. Prior to versions 4.1.135.Final and 4.2.15.Final, RedisArrayAggregator pre-allocates ArrayList with initial capacity equal to the RESP array element count declared in an array header. That count is taken from the wire before the corresponding child messages exist. A small malicious header can claim a huge initial capacity. Versions 4.1.135.Final and 4.2.15.Final patch the issue.

Analysis

AI-generated

Technical impact

Netty’s RedisArrayAggregator pre‑allocates an ArrayList whose capacity is set to the RESP array element count read from the wire. A malicious client can send a header that claims an excessively large count, causing the framework to allocate a huge internal array before any child messages are processed. This uncontrolled resource allocation can lead to out‑of‑memory conditions and crash or stall the server, resulting in loss of service for legitimate users.

Affected Systems

The vulnerability affects the Netty network application framework, specifically versions prior to 4.1.135.Final and 4.2.15.Final. Users running any Netty deployment that parses the Redis protocol are at risk unless their application is patched to a newer release.

Risk and Exploitability

The CVSS score of 7.5 classifies the flaw as a high‑severity vulnerability. Exploitation requires the ability to send forged RESP array headers to a Netty server; whether an attacker needs to authenticate before sending such headers is not specified in the CVE data. Because the EPSS is not available, the exact likelihood of exploitation is unknown, and the flaw is not yet listed in CISA’s KEV catalog, but the large potential impact warrants caution. An attacker could trigger memory exhaustion and cause a denial of service, impacting availability for all users of the affected service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Netty dependency to version 4.1.135.Final or 4.2.15.Final or later and rebuild the application.
  • Ensure build and deployment pipelines lock the Netty version to a patched release to prevent accidental downgrade.
  • If an upgrade cannot be performed immediately, validate RESP array lengths at the application layer and reject requests that request an array size beyond a safe limit before the data reaches Netty.
  • Monitor server memory usage for abnormal spikes that may indicate an attempted exploit and alert operators accordingly.

Generated by OpenCVE AI on June 12, 2026 at 16:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5w86-c3rq-vjj7 Netty: Unbounded pre-allocation in RedisArrayAggregator from RESP array length
History
Type Values Removed Values Added
CPEs cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Netty
Netty netty
Vendors & Products Netty
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
Description Netty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, RedisArrayAggregator pre-allocates ArrayList with initial capacity equal to the RESP array element count declared in an array header. That count is taken from the wire before the corresponding child messages exist. A small malicious header can claim a huge initial capacity. Versions 4.1.135.Final and 4.2.15.Final patch the issue.
Title Netty has unbounded pre-allocation in RedisArrayAggregator from RESP array length
Weaknesses CWE-400
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-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 18, 2026, 12:04 PM
Reserved
Jun 2, 2026, 10:46 PM
Status
Modified
Published
Jun 12, 2026, 4:16 PM
Modified
Sep 18, 2026, 1:18 PM
Severity
Important
Public date
Jun 12, 2026, 2:52 PM