Skip to content
OpenAdvisories

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 netty No fix yet —
Debian 13 netty No fix yet —
Debian 12 netty No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 netty No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed netty 4.1.136-1.1 openSUSE-SU-2026:11394-1

Wolfi

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
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

References