GitHub Advisoryadvisory · Maven
GHSA-c2gf-v879-257j netty-codec-http2: ByteBuf Reference-Count Leak in DelegatingDecompressorFrameListener Leads to Memory Exhaustion
MEDIUM
Official page ↗
- Aliases
- CVE-2026-48043
- Ecosystem
- Maven
- Packages
- io.netty:netty-codec-http2
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-400, CWE-401, CWE-772
- Reviewed
- 2026-06-11
Affected packages
• Maven io.netty:netty-codec-http2: < 4.1.135.Final → fixed in 4.1.135.Final
• Maven io.netty:netty-codec-http2: >= 4.2.0.Alpha1, < 4.2.15.Final → fixed in 4.2.15.Final
Description
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.
Related
Alias · CVE (1)
- CVE-2026-48043 Netty is a network application framework for development of protocol servers and clients. vulnerability
References
- https://github.com/netty/netty/security/advisories/GHSA-c2gf-v879-257j web
- https://nvd.nist.gov/vuln/detail/CVE-2026-48043 advisory
- https://github.com/netty/netty/commit/db6138b168699736a6463c367e12ad0a4c36a25e web
- https://github.com/netty/netty/commit/3d45a1e4e8eb99144f716e54be5ac57e525fa7ca web
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48043.json web
- https://github.com/netty/netty/releases/tag/netty-4.2.15.Final web
- https://github.com/netty/netty/releases/tag/netty-4.1.135.Final web
- https://github.com/netty/netty package
- https://bugzilla.redhat.com/show_bug.cgi?id=2488442 web
- https://access.redhat.com/security/cve/CVE-2026-48043 web
- https://access.redhat.com/errata/RHSA-2026:66488 web
- https://access.redhat.com/errata/RHSA-2026:65126 web
- https://access.redhat.com/errata/RHSA-2026:54435 web
- https://access.redhat.com/errata/RHSA-2026:53806 web
- https://access.redhat.com/errata/RHSA-2026:53646 web
- https://access.redhat.com/errata/RHSA-2026:53645 web
- https://access.redhat.com/errata/RHSA-2026:53644 web
- https://access.redhat.com/errata/RHSA-2026:50085 web
- https://access.redhat.com/errata/RHSA-2026:48151 web
- https://access.redhat.com/errata/RHSA-2026:48124 web
- https://access.redhat.com/errata/RHSA-2026:41951 web
- https://access.redhat.com/errata/RHSA-2026:37390 web
- https://access.redhat.com/errata/RHSA-2026:36820 web
- https://access.redhat.com/errata/RHSA-2026:34608 web
- https://access.redhat.com/errata/RHSA-2026:26586 web
- https://access.redhat.com/errata/RHSA-2026:26018 web
- https://access.redhat.com/errata/RHSA-2026:26017 web