CVE-2026-50011: Netty has unbounded pre-allocation in RedisArrayAggregator from RESP array length

Published Jun 12, 2026
·
Updated

Summary 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.

Details The aggregator starts a new aggregation level when it receives an ArrayHeaderRedisMessage. For positive lengths it pushes AggregateState, whose constructor runs new ArrayList<>(length). No configurable maximum is applied in this handler, and the peer does not need to supply the array elements for the backing array allocation to occur.

In the same pipeline, RedisDecoder enforces RedisConstants.REDISMESSAGEMAXLENGTH for bulk string lengths but does not apply that cap to array header lengths. Declared array sizes can therefore be extremely large while still passing decoding, and the aggregator immediately attempts Object[] reservation.

io.netty.handler.codec.redis.RedisDecoder#decodeLength io.netty.handler.codec.redis.RedisArrayAggregator#decodeRedisArrayHeader

Impact Availability / resource exhaustion via unbounded pre-allocation from untrusted RESP array headers.

Other sources

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.

MITRE

Affected Software

5 affected componentsFixes available
Netty Netty<4.1.135.Final, <4.2.15.Final
Netty Netty<4.1.135
Netty Netty>=4.2.0<4.2.15
maven/io.netty:netty-codec-redis<=4.1.134.Final
4.1.135.Final
maven/io.netty:netty-codec-redis>=4.2.0.Final<=4.2.14.Final
4.2.15.Final

Event History

Jun 12, 2026
CVE Published
via MITRE·02:52 PM
Data Sourced
via MITRE·02:52 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Jun 15, 2026
Advisory Published
via GitHub·08:46 PM
Data Sourced
via GitHub·08:46 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-50011?

CVE-2026-50011 has a high severity rating of 7.5.

2

How do I fix CVE-2026-50011?

To fix CVE-2026-50011, upgrade to Netty versions 4.1.135.Final or 4.2.15.Final or later.

3

What vulnerabilities are associated with CVE-2026-50011?

CVE-2026-50011 is associated with unbounded pre-allocation in RedisArrayAggregator, which can lead to resource exhaustion.

4

Who is affected by CVE-2026-50011?

Any application using vulnerable versions of Netty with RedisArrayAggregator is at risk from CVE-2026-50011.

5

What is the nature of the risk posed by CVE-2026-50011?

CVE-2026-50011 poses a risk of denial-of-service due to unbounded pre-allocation of resources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203