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 package | Versions | Reported 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.15 | CVE List, NVD |
| cryostat/cryostat-reports-rhel9 | Not specified Not affected: from 4.2.0-13 before * | CVE List |
| cryostat/cryostat-rhel9 | Not specified Not affected: from 4.2.0-13 before * | CVE List |
| cryostat/jfr-datasource-rhel9 | Not specified Not affected: from 4.2.0-13 before * | CVE List |
| netty | Not specified Not affected: from codec-haproxy before * | CVE List |
| eap7-activemq-artemis | Not 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-jsf | Not 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-ironjacamar | Not 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-annotations | Not 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-core | Not 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-databind | Not 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-providers | Not 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-modules-base | Not 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-modules-java8 | Not 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-jboss-remoting | Not specified Not affected: from 0:5.0.31-3.SP2_redhat_00001.1.el7eap before *, from 0:5.0.31-3.SP2_redhat_00001.1.el8eap before *, from 0:5.0.31-3.SP2_redhat_00001.1.el9eap before * | CVE List |
| eap7-jboss-server-migration | Not specified Not affected: from 0:1.10.0-46.Final_redhat_00044.1.el7eap before *, from 0:1.10.0-46.Final_redhat_00044.1.el8eap before *, from 0:1.10.0-46.Final_redhat_00044.1.el9eap before * | CVE List |
| eap7-netty | Not specified Not affected: from 0:4.1.135-1.Final_redhat_00001.1.el7eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el8eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el9eap before * | CVE List |
| eap7-netty-transport-native-epoll | Not specified Not affected: from 0:4.1.135-1.Final_redhat_00001.1.el7eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el8eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el9eap before * | CVE List |
| eap7-picketlink-bindings | Not specified Not affected: from 0:2.5.5-30.SP12_redhat_00020.1.el7eap before *, from 0:2.5.5-30.SP12_redhat_00020.1.el8eap before *, from 0:2.5.5-30.SP12_redhat_00020.1.el9eap before * | CVE List |
| eap7-picketlink-federation | Not specified Not affected: from 0:2.5.5-24.SP12_redhat_00016.1.el7eap before *, from 0:2.5.5-24.SP12_redhat_00016.1.el8eap before *, from 0:2.5.5-24.SP12_redhat_00016.1.el9eap before * | CVE List |
| eap7-undertow | Not specified Not affected: from 0:2.2.40-2.SP3_redhat_00001.1.el7eap before *, from 0:2.2.40-1.SP3_redhat_00001.1.el8eap before *, from 0:2.2.40-1.SP3_redhat_00001.1.el9eap before * | CVE List |
| eap7-wildfly | Not specified Not affected: from 0:7.4.25-2.GA_redhat_00001.1.el7eap before *, from 0:7.4.25-2.GA_redhat_00001.1.el8eap before *, from 0:7.4.25-2.GA_redhat_00001.1.el9eap before * | CVE List |
| rhoai/odh-trustyai-service-rhel9 | Not specified Not affected: from 1788198681 before * | CVE List |
| devspaces/multicluster-redirector-rhel9 | Not specified Not affected: from 1782989027 before * | CVE List |
| openshift-serverless-1/kn-ekb-dispatcher-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-ekb-receiver-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9 | Not specified | CVE List |
| netty-codec-haproxy | Not specified | CVE List |
| rhbk/keycloak-rhel9 | Not specified | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified | CVE List |
| rhbk-openshift-rhel9/rhbk-openshift-rhel9 | Not specified | CVE List |
| rhbk-rhel9-operator/rhbk-rhel9-operator | Not specified | CVE List |
| candlepin | Not specified | CVE List |
| io.netty:netty-codec-haproxy (Maven) | from 4.2.0.Final before 4.2.15.Final, before 4.1.135.Final | GitHub Advisory Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| redhat-SADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44893 changed 2026-09-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cc37-9q2j-3hfv changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-44893 changed 2026-09-18 | Public domain |