Description
Netty is a network application framework for development of protocol servers and clients. In versions 4.2.0.Final up to (but not including) 4.2.16.Final, and 4.1.0.Final up to (but not including) 4.1.135, the `HAProxyMessageDecoder` in Netty's `codec-haproxy` module performs protocol version detection by reading the 13th byte as a signed Java `byte` and widening it to `int` without masking; a PROXY protocol v2 binary prefix followed by version byte `0xFF` sign-extends to `-1`, collides with the decoder's need-more-data sentinel, and causes `ByteToMessageDecoder` to accumulate inbound bytes in an unbounded `cumulation` buffer until direct memory is exhausted. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| netty | netty | >= 4.2.0.Final, < 4.2.16.Final, >= 4.1.0.Final, < 4.1.136.Final | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | netty | No fix yet | — |
| Debian 13 | netty | No fix yet | — |
| Debian 12 | netty | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | netty | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 24.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 22.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 20.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 18.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 16.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 14.04 LTS | netty | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | netty | 4.1.136-150200.4.53.1 | SUSE-SU-2026:3482-1 |
| SLES 15 SP7 | netty-tcnative | 2.0.80-150200.3.48.1 | SUSE-SU-2026:3482-1 |
| SLES 15 SP6 | netty-tcnative | 2.0.80-150200.3.48.1 | SUSE-SU-2026:3482-1 |
| SLES 15 SP5 | netty-tcnative | 2.0.80-150200.3.48.1 | SUSE-SU-2026:3482-1 |
| SLES 15 SP4 | netty-tcnative | 2.0.80-150200.3.48.1 | SUSE-SU-2026:3482-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | netty-tcnative | 2.0.80-150200.3.48.1 | SUSE-SU-2026:3482-1 |
| SLES for SAP 15 SP5 | netty-tcnative | 2.0.80-150200.3.48.1 | SUSE-SU-2026:3482-1 |
| SLES for SAP 15 SP4 | netty-tcnative | 2.0.80-150200.3.48.1 | SUSE-SU-2026:3482-1 |
| SLE HPC 15 SP5 | netty-tcnative | 2.0.80-150200.3.48.1 | SUSE-SU-2026:3482-1 |
| SLE HPC 15 SP4 | netty-tcnative | 2.0.80-150200.3.48.1 | SUSE-SU-2026:3482-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | netty | 4.1.136-1.1 | openSUSE-SU-2026:11394-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apache-activemq-artemis | 2.55.0-r1 | — |
| Wolfi rolling | apache-pulsar-4.2 | 4.2.3-r3 | — |
| Wolfi rolling | apicurio-registry | 3.3.0-r11 | — |
| Wolfi rolling | celeborn-0.6 | 0.6.3-r12 | — |
| Wolfi rolling | keycloak-26.5 +2 | No fix yet | — |
| Wolfi rolling | keycloak-26.6 +2 | 26.6.6-r0 | — |
| Wolfi rolling | management-api-for-apache-cassandra-5.0 | 0.1.122-r2 | — |
| Wolfi rolling | neo4j-2026.05 +1 | 2026.05.0-r12 | — |
| Wolfi rolling | neo4j-2026.06 | 2026.06.0-r4 | — |
| Wolfi rolling | tez | 0.10.5-r24 | — |
| Wolfi rolling | thingsboard-tb-node +1 | 4.3.1.3-r11 | — |
| Wolfi rolling | zipkin | 3.6.1-r18 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | io.netty:netty-codec-haproxy | >= 4.2.0.Final, < 4.2.16.Final | 4.2.16.Final | GHSA-q6cq-mhr2-jmr5 |
| Maven | io.netty:netty-codec-haproxy | >= 4.1.0.Final, < 4.1.136.Final | 4.1.136.Final | GHSA-q6cq-mhr2-jmr5 |
Advisories 3
- WID-SEC-2026-2356 Netty: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2026
- SUSE-SU-2026:3482-1 Security update for netty, netty-tcnative SUSE / openSUSE Security Updates · Aug 5, 2026
- openSUSE-SU-2026:11394-1 netty-4.1.136-1.1 on GA media SUSE / openSUSE Security Updates · Jul 29, 2026
References
- https://github.com/netty/netty/security/advisories/GHSA-q6cq-mhr2-jmr5
- https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b
- https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6
- https://github.com/netty/netty/releases/tag/netty-4.1.136.Final
- https://github.com/netty/netty/releases/tag/netty-4.2.16.Final