CVE-2026-48006
Netty's Lack of Lifecycle Cleanup Leads to Pooled ByteBuf Leak in RedisArrayAggregator
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.netty » netty-codec-redis | < 4.1.135.Final>= 4.2.0.Final, < 4.2.15.Final | 4.1.135.Final, 4.2.15.Final |
Blast radius
62% of the dependent artifacts (3,951) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,956 |
| 2 hops | 30,108 |
| 3 hops | 132,662 |
| 4 hops | 59,925 |
| 5 hops | 48,309 |
| 6 hops | 23,197 |
Most used dependents
- io.netty » netty-all3,584 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.zookeeper » zookeeper2,044 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.hadoop » hadoop-hdfs1,377 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- org.apache.curator » curator-recipes1,197 usages
- org.apache.curator » curator-framework1,070 usages
- org.apache.curator » curator-test1,002 usages
- org.apache.flink » flink-streaming-java982 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.spark » spark-mllib831 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://github.com/netty/netty/security/advisories/GHSA-6jv9-x5w9-2ccm
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-48006
- Webhttps://access.redhat.com/errata/RHSA-2026:37390
- Webhttps://access.redhat.com/errata/RHSA-2026:41951
- Webhttps://access.redhat.com/errata/RHSA-2026:50085
- Webhttps://access.redhat.com/errata/RHSA-2026:53644
- Webhttps://access.redhat.com/errata/RHSA-2026:53645
- Webhttps://access.redhat.com/errata/RHSA-2026:53646
- Webhttps://access.redhat.com/errata/RHSA-2026:53806
- Webhttps://access.redhat.com/security/cve/CVE-2026-48006
- Webhttps://bugzilla.redhat.com/show_bug.cgi?id=2488433
- Packagehttps://github.com/netty/netty
- Webhttps://github.com/netty/netty/releases/tag/netty-4.1.135.Final
- Webhttps://github.com/netty/netty/releases/tag/netty-4.2.15.Final
- Webhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48006.json
