CVE-2026-48006: Netty's Lack of Lifecycle Cleanup Leads to Pooled ByteBuf Leak in RedisArrayAggregator
Impact The RedisArrayAggregator handler permanently leaks pooled direct-memory buffers when a Redis pipeline connection closes before a RESP array aggregate completes. The handler retains child messages in per-handler state (depths field) but defines no channelInactive, handlerRemoved, or exceptionCaught method to release them when the pipeline tears down.
Published Jun 11, 2026 · Updated Sep 18, 2026
Affected packages
io.netty:netty-codec-redis
- Ecosystem
- Maven
- Affected
- >= 4.2.0.Final, <= 4.2.14.Final
- Fixed in
- 4.2.15.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec-redis
io.netty:netty-codec-redis
- Ecosystem
- Maven
- Affected
- <= 4.1.134.Final
- Fixed in
- 4.1.135.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec-redis
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The RedisArrayAggregator handler permanently leaks pooled direct-memory buffers when a Redis pipeline connection closes before a RESP array aggregate completes. The handler retains child messages in per-handler state (depths field) but defines no channelInactive, handlerRemoved, or exceptionCaught method to release them when the pipeline tears down. Because the leaked buffers are slices of PooledByteBufAllocator chunks, they prevent those chunks from being returned to the JVM-wide direct-memory pool. Repeated connection churn by any network peer monotonically drains this shared pool, eventually causing allocation failures on all Netty channels in the process.
References
- https://github.com/netty/netty/security/advisories/GHSA-6jv9-x5w9-2ccm
- https://nvd.nist.gov/vuln/detail/CVE-2026-48006
- https://github.com/netty/netty/releases/tag/netty-4.1.135.Final
- https://github.com/netty/netty/releases/tag/netty-4.2.15.Final
- https://access.redhat.com/security/cve/CVE-2026-48006
- https://bugzilla.redhat.com/show_bug.cgi?id=2488433
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48006.json
- https://access.redhat.com/errata/RHSA-2026:37390
- https://access.redhat.com/errata/RHSA-2026:41951
- https://access.redhat.com/errata/RHSA-2026:50085
- https://access.redhat.com/errata/RHSA-2026:53644
- https://access.redhat.com/errata/RHSA-2026:53806
- https://access.redhat.com/errata/RHSA-2026:53645
- https://access.redhat.com/errata/RHSA-2026:53646
- https://github.com/advisories/GHSA-6jv9-x5w9-2ccm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-56818
Netty: RedisArrayAggregator max-elements failure leaves retained partial aggregate state
medium6.5Aug 7, 2026CVE-2026-50011
Netty: Unbounded pre-allocation in RedisArrayAggregator from RESP array length
high7.5Jun 15, 2026CVE-2026-44250
Netty: Memory Exhaustion in RedisArrayAggregator due to Deeply Nested Arrays
high7.5Jun 8, 2026CVE-2026-44890
Netty has Unbounded Direct Memory Consumption in its RedisDecoder
high7.5Jun 8, 2026CVE-2026-42586
Netty Redis Codec Encoder has a CRLF Injection Issue
medium6.8May 7, 2026
