Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.netty/netty-codec-haproxy
  4. ›
  5. CVE-2026-44893

CVE-2026-44893: Netty: HAProxy SSL TLV parsing leaks retained slice on invalid TLV length

June 8, 2026 (updated June 12, 2026)

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

  • github.com/advisories/GHSA-cc37-9q2j-3hfv
  • github.com/netty/netty/releases/tag/netty-4.1.135.Final
  • github.com/netty/netty/releases/tag/netty-4.2.15.Final
  • github.com/netty/netty/security/advisories/GHSA-cc37-9q2j-3hfv
  • nvd.nist.gov/vuln/detail/CVE-2026-44893

Code Behaviors & Features

Detect and mitigate CVE-2026-44893 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.135, all versions starting from 4.2.0 before 4.2.15

Fixed versions

  • 4.1.135
  • 4.2.15

Solution

Upgrade to versions 4.1.135, 4.2.15 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

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

Source file

maven/io.netty/netty-codec-haproxy/CVE-2026-44893.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:51 +0000.