Loading advisory.
Loading advisory.
Netty: Unbounded pre-allocation in RedisArrayAggregator from RESP array length
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.
Published 2026-06-12 14:52 UTC · Modified 2026-09-18 12:04 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| io.netty:netty-codec-redis | Maven | >= 4.2.0.Final, < 4.2.15.Final < 4.1.135.Final versions 4.2.0.Final, 4.2.1.Final, 4.2.10.Final, 4.2.11.Final, 4.2.12.Final, 4.2.13.Final, 4.2.14.Final, 4.2.2.Final, 4.2.3.Final, 4.2.4.Final, 4.2.5.Final, 4.2.6.Final, 4.2.7.Final, 4.2.8.Final, 4.2.9.Final, 4.1.0.Final, 4.1.1.Final, 4.1.10.Final, 4.1.100.Final, 4.1.101.Final and 130 more | 4.2.15.Final, 4.1.135.Final | No single command for Maven. Update to 4.2.15.Final, 4.1.135.Final in your build file. |
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.
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.REDIS_MESSAGE_MAX_LENGTH 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
Availability / resource exhaustion via unbounded pre-allocation from untrusted RESP array headers.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.005 on 2026-11-24 to 0.008 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |
| 2026-11-26 | 0.008 | 0.005 | v2026.06.15 |