CVE-2026-44250: Netty: Memory Exhaustion in RedisArrayAggregator due to Deeply Nested Arrays
Summary An attacker can cause DoS by sending a crafted Redis payload with deeply nested arrays. This forces the server to allocate a massive number of state objects and collections, leading to memory exhaustion and an OutOfMemoryError.
Details io.netty.handler.codec.redis.RedisArrayAggregator aggregates RedisMessage parts into ArrayRedisMessage. It uses a Deque<AggregateState> to keep track of nested arrays. However, it does not limit the maximum depth of nested arrays. When an attacker sends a continuous stream of nested array headers (e.g., 1\r\n1\r\n1\r\n...), RedisArrayAggregator pushes a new AggregateState onto the stack and allocates a new ArrayList for each header. Because there is no depth limit, an attacker can send millions of such headers. This consumes a massive amount of heap memory for the AggregateState instances and their backing ArrayLists, eventually resulting in an OutOfMemoryError.
Impact Denial of Service due to memory exhaustion. Any application using Netty's RedisArrayAggregator to handle untrusted Redis traffic is vulnerable.
Other sources
Netty is a network application framework for development of protocol servers and clients. In netty-codec-redis prior to versions 4.1.135.Final and 4.2.15.Final, an attacker can cause DoS by sending a crafted Redis payload with deeply nested arrays. This forces the server to allocate a massive number of state objects and collections, leading to memory exhaustion and an OutOfMemoryError. Versions 4.1.135.Final and 4.2.15.Final patch the issue.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/io.netty:netty-codec-redisto a version that resolves this vulnerability.Fixed in 4.1.135.Final - Upgrade
Upgrade
maven/io.netty:netty-codec-redisto a version that resolves this vulnerability.Fixed in 4.2.15.Final - Upgrade
Upgrade
netty-codec-redis/RedisArrayAggregatorto a version that resolves this vulnerability.Fixed in 4.1.135.Final - Upgrade
Upgrade
netty-codec-redis/RedisArrayAggregatorto a version that resolves this vulnerability.Fixed in 4.2.15.Final
Event History
Frequently Asked Questions
What is the severity of CVE-2026-44250?
CVE-2026-44250 has a high severity rating of 7.5.
What type of attack can exploit CVE-2026-44250?
CVE-2026-44250 can be exploited to launch a denial of service (DoS) attack.
What software components are affected by CVE-2026-44250?
CVE-2026-44250 affects the maven/io.netty:netty-codec-redis library.
How can I mitigate CVE-2026-44250?
To mitigate CVE-2026-44250, you should update to the latest versions of the netty-codec-redis library.
What is the impact of CVE-2026-44250 on a system?
CVE-2026-44250 can lead to memory exhaustion, causing an OutOfMemoryError on the server.