HIGH 7.5

CVE-2026-44893

Netty: HAProxy SSL TLV parsing leaks retained slice on invalid TLV length

Description

When decoding a PP2_TYPE_SSL TLV, HAProxyMessage.readNextTLV() first calls header.retainedSlice(header.readerIndex(), length) and only then reads the 1-byte client field and 4-byte verify field. If the attacker sets the TLV length below 5, the subsequent readByte/readInt throws IndexOutOfBoundsException. HAProxyMessageDecoder only catches HAProxyProtocolException around this call, so the IOOBE propagates and the retained slice on the pooled cumulation buffer is never released.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
io.netty » netty-codec-haproxy
< 4.1.135.Final>= 4.2.0.Final, < 4.2.15.Final
4.1.135.Final, 4.2.15.Final

Blast radius

1affected artifacts
253affected versions
10,265dependent artifacts (est.)
546,349dependent versions

63% of the dependent artifacts (6,470) still pull an affected version in their latest release.

DepthDependent versions
Direct
7,101
2 hops
72,953
3 hops
224,931
4 hops
134,275
5 hops
80,467
6 hops
26,622

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.