Io.netty:netty codec redis: Netty's Lack of Lifecycle Cleanup Leads to Pooled ByteBuf Leak in RedisArrayAggregator (CVE-2026-48006)
A vulnerability in io.netty:netty-codec-redis (CVE-2026-48006) causes a permanent memory leak of pooled direct-memory buffers when Redis pipeline connections close prematurely before completing a RESP array aggregate. This leak exhausts the JVM-wide direct-memory pool, leading to denial of service (DoS) across all Netty channels in the affected process. The issue arises because the RedisArrayAggregator handler retains child messages without proper lifecycle cleanup methods to release resources. A patch is available to address this flaw.
AI Analysis
Technical Summary
The RedisArrayAggregator handler in io.netty:netty-codec-redis versions >=4.2.0.Final <4.2.15.Final and <4.1.135.Final leaks pooled direct-memory buffers when Redis pipeline connections close before a RESP array aggregate completes. The handler retains child messages in its internal state but lacks channelInactive, handlerRemoved, or exceptionCaught methods to release these buffers upon pipeline teardown. Since the leaked buffers are slices of PooledByteBufAllocator chunks, they prevent these chunks from returning to the JVM-wide direct-memory pool. Repeated connection churn by any network peer causes a monotonic drain of this shared pool, eventually causing allocation failures on all Netty channels in the process, resulting in a denial of service. The vulnerability has a CVSS v3.1 score of 7.5 (high severity) with no confidentiality or integrity impact but high availability impact. A patch is available and has been released in netty versions 4.2.15.Final and 4.1.135.Final.
Potential Impact
Exploitation of this vulnerability leads to a denial of service condition by exhausting the JVM-wide direct-memory pool used by Netty channels. This resource exhaustion prevents allocation of new buffers, causing failures across all Netty channels in the affected process. There is no impact on confidentiality or integrity, but availability is severely affected. This can disrupt applications relying on Netty for Redis communication, impacting their stability and uptime.
Mitigation Recommendations
A patch is available and should be applied to upgrade affected versions to 4.2.15.Final or 4.1.135.Final or later. The vendor advisory indicates that no effective mitigation other than applying the fix meets their criteria for ease of use and applicability. Therefore, upgrading to a fixed version is the recommended remediation. There is no indication that any workaround or temporary mitigation is available or sufficient.
Io.netty:netty codec redis: Netty's Lack of Lifecycle Cleanup Leads to Pooled ByteBuf Leak in RedisArrayAggregator (CVE-2026-48006)
Description
A vulnerability in io.netty:netty-codec-redis (CVE-2026-48006) causes a permanent memory leak of pooled direct-memory buffers when Redis pipeline connections close prematurely before completing a RESP array aggregate. This leak exhausts the JVM-wide direct-memory pool, leading to denial of service (DoS) across all Netty channels in the affected process. The issue arises because the RedisArrayAggregator handler retains child messages without proper lifecycle cleanup methods to release resources. A patch is available to address this flaw.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The RedisArrayAggregator handler in io.netty:netty-codec-redis versions >=4.2.0.Final <4.2.15.Final and <4.1.135.Final leaks pooled direct-memory buffers when Redis pipeline connections close before a RESP array aggregate completes. The handler retains child messages in its internal state but lacks channelInactive, handlerRemoved, or exceptionCaught methods to release these buffers upon pipeline teardown. Since the leaked buffers are slices of PooledByteBufAllocator chunks, they prevent these chunks from returning to the JVM-wide direct-memory pool. Repeated connection churn by any network peer causes a monotonic drain of this shared pool, eventually causing allocation failures on all Netty channels in the process, resulting in a denial of service. The vulnerability has a CVSS v3.1 score of 7.5 (high severity) with no confidentiality or integrity impact but high availability impact. A patch is available and has been released in netty versions 4.2.15.Final and 4.1.135.Final.
Potential Impact
Exploitation of this vulnerability leads to a denial of service condition by exhausting the JVM-wide direct-memory pool used by Netty channels. This resource exhaustion prevents allocation of new buffers, causing failures across all Netty channels in the affected process. There is no impact on confidentiality or integrity, but availability is severely affected. This can disrupt applications relying on Netty for Redis communication, impacting their stability and uptime.
Mitigation Recommendations
A patch is available and should be applied to upgrade affected versions to 4.2.15.Final or 4.1.135.Final or later. The vendor advisory indicates that no effective mitigation other than applying the fix meets their criteria for ease of use and applicability. Therefore, upgrading to a fixed version is the recommended remediation. There is no indication that any workaround or temporary mitigation is available or sufficient.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-6jv9-x5w9-2ccm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-48006"]
- Ecosystems
- ["Maven"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a520efa68715ace4391e4ec
Added to database: 07/11/2026, 09:38:02 UTC
Last enriched: 08/12/2026, 18:03:30 UTC
Last updated: 09/12/2026, 20:54:16 UTC
Views: 103
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.