MediumGHSA-c2gf-v879-257jCVE-2026-48043

netty-codec-http2: ByteBuf Reference-Count Leak in DelegatingDecompressorFrameListener Leads to Memory Exhaustion

Published 11 Jun 2026 · Updated 6 Oct 2026

Is your project on an affected io.netty:netty-codec-http2?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<4.1.135.Final
Fixed in
4.1.135.Final
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=io.netty:netty-codec-http2 -DdepVersion=4.1.135.Final -DforceVersion=true
Affected
>=4.2.0.Alpha1 <4.2.15.Final
Fixed in
4.2.15.Final
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=io.netty:netty-codec-http2 -DdepVersion=4.2.15.Final -DforceVersion=true

Details

Impact

The DelegatingDecompressorFrameListener class orchestrates HTTP/2 decompression by embedding a per-stream EmbeddedChannel that runs the appropriate decompression codec (gzip, deflate, zstd) and forwards decompressed chunks to a wrapped listener. Each decompressed chunk is a pooled ByteBuf handed to an anonymous ChannelInboundHandlerAdapter tail handler, which becomes the sole owner responsible for releasing it.

A remote peer could send frames that would result in the flow-controller throwing and so trigger a resource leak which at the end might take down the whole JVM due OOME.

Is GHSA-c2gf-v879-257j in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected io.netty:netty-codec-http2, and gives you the command that fixes it.

More advisories for io.netty:netty-codec-http2

  • HighCVE-2026-56819Netty: HTTP/2 decompression leaks ByteBuf reference count when the decompressor channel is already closed (Direct memory leak / OOM DoS) · 31 Jul 2026
  • MediumCVE-2026-59900Netty: [codec-http2] Lack of Host Header Deduplication in HTTP/2→HTTP/1.x Translation Leads to Request Routing Bypass · 22 Jul 2026
  • MediumCVE-2026-50560Netty susceptible to HTTP/2 Reset Attack with different on-the-wire signature · 15 Jun 2026
  • MediumCVE-2026-47244Netty HTTP/2: Advertised MAX_CONCURRENT_STREAMS are not enforced · 8 Jun 2026
  • HighCVE-2026-42587Netty: HttpContentDecompressor maxAllocation bypass when Content-Encoding set to br/zstd/snappy leads to decompression bomb DoS · 7 May 2026
  • HighCVE-2026-33871Netty HTTP/2 CONTINUATION Frame Flood DoS via Zero-Byte Frame Bypass · 26 Mar 2026
All 11 advisories for io.netty:netty-codec-http2

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.