CVE-2026-44893 PUBLISHED

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

Assigner: GitHub_M
Reserved: 07.05.2026 Published: 12.06.2026 Updated: 12.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor netty
Product netty
Versions
  • Version >= 4.2.0.Final, < 4.2.15.Final is affected
  • Version < 4.1.135.Final is affected

References

Problem Types

  • CWE-703: Improper Check or Handling of Exceptional Conditions CWE