CVE-2026-44893
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.62% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-cc37-9q2j-3hfv

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.

Affected

Product or packageVersionsReported by
netty netty>= 4.2.0.Final, < 4.2.15.Final, < 4.1.135.Final, before 4.1.135, from 4.2.0 before 4.2.15CVE List, NVD
cryostat/cryostat-reports-rhel9Not specified
Not affected: from 4.2.0-13 before *
CVE List
cryostat/cryostat-rhel9Not specified
Not affected: from 4.2.0-13 before *
CVE List
cryostat/jfr-datasource-rhel9Not specified
Not affected: from 4.2.0-13 before *
CVE List
nettyNot specified
Not affected: from codec-haproxy before *
CVE List
eap7-activemq-artemisNot specified
Not affected: from 0:2.16.0-22.redhat_00057.1.el7eap before *, from 0:2.16.0-22.redhat_00057.1.el8eap before *, from 0:2.16.0-22.redhat_00057.1.el9eap before *
CVE List
eap7-glassfish-jsfNot specified
Not affected: from 0:2.3.14-11.SP11_redhat_00001.1.el7eap before *, from 0:2.3.14-11.SP11_redhat_00001.1.el8eap before *, from 0:2.3.14-11.SP11_redhat_00001.1.el9eap before *
CVE List
eap7-ironjacamarNot specified
Not affected: from 0:1.5.26-2.Final_redhat_00001.1.el7eap before *, from 0:1.5.26-2.Final_redhat_00001.1.el8eap before *, from 0:1.5.26-2.Final_redhat_00001.1.el9eap before *
CVE List
eap7-jackson-annotationsNot specified
Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before *
CVE List
eap7-jackson-coreNot specified
Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before *
CVE List
eap7-jackson-databindNot specified
Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before *
CVE List
eap7-jackson-jaxrs-providersNot specified
Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before *
CVE List

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-703CWE-805

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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

https://github.com/netty/netty/security/advisories/GHSA-cc37-9q2j-3hfvvendor-advisory, web
https://github.com/netty/netty/releases/tag/netty-4.1.135.Finalrelease-notes, web
https://github.com/netty/netty/releases/tag/netty-4.2.15.Finalrelease-notes, web
https://access.redhat.com/security/cve/CVE-2026-44893vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2488383issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44893.json
https://access.redhat.com/errata/RHSA-2026:53644vendor-advisory
https://access.redhat.com/errata/RHSA-2026:53645vendor-advisory
https://access.redhat.com/errata/RHSA-2026:48151vendor-advisory
https://access.redhat.com/errata/RHSA-2026:53646vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66488vendor-advisory
https://access.redhat.com/errata/RHSA-2026:26586vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-44893 changed 2026-09-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-cc37-9q2j-3hfv changed 2026-09-10CC-BY-4.0
NVDCVE-2026-44893 changed 2026-09-18Public domain