Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.netty/netty-codec-redis
  4. ›
  5. CVE-2026-48006

CVE-2026-48006: Netty's Lack of Lifecycle Cleanup Leads to Pooled ByteBuf Leak in RedisArrayAggregator

June 11, 2026 (updated June 12, 2026)

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

  • github.com/advisories/GHSA-6jv9-x5w9-2ccm
  • github.com/netty/netty/releases/tag/netty-4.1.135.Final
  • github.com/netty/netty/releases/tag/netty-4.2.15.Final
  • github.com/netty/netty/security/advisories/GHSA-6jv9-x5w9-2ccm
  • nvd.nist.gov/vuln/detail/CVE-2026-48006

Code Behaviors & Features

Detect and mitigate CVE-2026-48006 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.135, all versions starting from 4.2.0 before 4.2.15

Fixed versions

  • 4.1.135
  • 4.2.15

Solution

Upgrade to versions 4.1.135, 4.2.15 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-401: Missing Release of Memory after Effective Lifetime

Source file

maven/io.netty/netty-codec-redis/CVE-2026-48006.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:37 +0000.