CVE-2026-44893: Netty: HAProxy SSL TLV parsing leaks retained slice on invalid TLV length
When decoding a PP2TYPESSL 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.
Published Jun 8, 2026 · Updated Jun 12, 2026
Affected packages
io.netty:netty-codec-haproxy
- Ecosystem
- Maven
- Affected
- >= 4.2.0.Final, <= 4.2.14.Final
- Fixed in
- 4.2.15.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec-haproxy
io.netty:netty-codec-haproxy
- Ecosystem
- Maven
- Affected
- <= 4.1.134.Final
- Fixed in
- 4.1.135.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec-haproxy
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-55851
Netty: [codec-haproxy] Signed-Byte Sentinel Collision in HAProxyMessageDecoder Leads to Unbounded Memory Exhaustion
high8.7Jul 22, 2026CVE-2026-59919
Netty: HAProxy V1 Protocol CRLF Injection via AF_UNIX Address
medium5.5Jul 22, 2026CVE-2026-48059
Netty HAProxy: Unbalanced Reference Count in Nested PP2_TYPE_SSL TLV Parsing Leads to Memory Exhaustion
high7.5Jun 11, 2026
