Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M
CVE-2026-48006Netty's Lack of Lifecycle Cleanup Leads to Pooled ByteBuf Leak in RedisArrayAggregator
High 7.5
In plain English
A high-severity memory leak in netty from netty. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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, 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. Versions 4.1.135.Final and 4.2.15.Final patch the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | netty | no fix listed | DEBIAN-CVE-2026-48006 |
| Debian:13 | netty | no fix listed | DEBIAN-CVE-2026-48006 |
| Debian:14 | netty | no fix listed | DEBIAN-CVE-2026-48006 |
| Maven | io.netty:netty-codec-redis | 4.1.135.Final | GHSA-6jv9-x5w9-2ccm |
| Maven | io.netty:netty-codec-redis | 4.2.15.Final | GHSA-6jv9-x5w9-2ccm |
| Ubuntu:25.10 | netty | no fix listed | UBUNTU-CVE-2026-48006 |
| Ubuntu:26.10 | netty | no fix listed | UBUNTU-CVE-2026-48006 |
Affected products (as reported)
Weakness: CWE-401, CWE-772 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/netty/netty/security/advisories/GHSA-6jv9-x5w9-2ccm x_refsource_CONFIRM
- https://github.com/netty/netty/releases/tag/netty-4.1.135.Final x_refsource_MISC
- https://github.com/netty/netty/releases/tag/netty-4.2.15.Final x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-48006 vdb-entry, x_refsource_REDHAT
- RHBZ#2488433 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48006.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:53644 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53645 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53646 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41951 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:50085 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37390 vendor-advisory, x_refsource_REDHAT