CVE-2026-44893

HIGH

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

Title source: cna
STIX 2.1

Description

Netty is a network application framework for development of protocol servers and clients. In netty-codec-haproxy prior to versions 4.1.135.Final and 4.2.15.Final, 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. Versions 4.1.135.Final and 4.2.15.Final patch the issue.

References (3)

Core 3

Scores

CVSS v3 7.5
EPSS 0.0061
EPSS Percentile 44.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-703
Status published
Products (5)
io.netty/netty-codec-haproxy 0 - 4.1.135.FinalMaven
io.netty/netty-codec-haproxy 4.2.0.Final - 4.2.15.FinalMaven
netty/netty < 4.1.135
netty/netty < 4.1.135.Final
netty/netty >= 4.2.0.Final, < 4.2.15.Final
Published Jun 12, 2026
Tracked Since Jun 12, 2026