CVE-2026-48059
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 HAProxy PROXY protocol v2 codec in netty leaks native or heap memory on every connection when a client sends a syntactically valid header containing nested `PP2_TYPE_SSL` TLVs (type-length-value records) at depth two or greater. The leak occurs on the successful parse path — no exception is thrown, the message fires downstream, the decoder removes itself, and the application releases the `HAProxyMessage` normally. Yet the underlying cumulation buffer (a pooled, potentially direct `ByteBuf` allocated by the channel) remains permanently pinned. Versions 4.1.135.Final and 4.2.15.Final patch the issue.
How to fix
- netty netty4.1.135, 4.2.15 or later
- io.netty:netty-codec-haproxy4.2.15.Final, 4.1.135.Final or later
- access.redhat.com/errata/RHSA-2026:53644
- access.redhat.com/errata/RHSA-2026:53645
- access.redhat.com/errata/RHSA-2026:48151
- access.redhat.com/errata/RHSA-2026:53646
- access.redhat.com/errata/RHSA-2026:66488
- access.redhat.com/errata/RHSA-2026:26586
- access.redhat.com/errata/RHSA-2026:41951
- access.redhat.com/errata/RHSA-2026:50085
- access.redhat.com/errata/RHSA-2026:65126
- access.redhat.com/errata/RHSA-2026:36820
- access.redhat.com/errata/RHSA-2026:37390
- access.redhat.com/errata/RHSA-2026:26018
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| netty netty | v < 4.1.135, 4.2.0 ≤ v < 4.2.15 | 4.1.135, 4.2.15 |
| io.netty:netty-codec-haproxyMaven | 4.2.0.Final ≤ v < 4.2.15.Final, v < 4.1.135.Final | 4.2.15.Final, 4.1.135.Final |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.