CVE-2026-48059
JSON

8.7high

Netty HAProxy: Unbalanced Reference Count in Nested PP2_TYPE_SSL TLV Parsing Leads to Memory Exhaustion

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.63% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-h2qv-fj59-j46j

Description

Netty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, the HAProxy PROXY protocol v2 codec in netty leaks native or heap memory on every connection when a client sends a syntactically valid header containing nested `PP2_TYPE_SSL` TLVs (type-length-value records) at depth two or greater. The leak occurs on the successful parse path — no exception is thrown, the message fires downstream, the decoder removes itself, and the application releases the `HAProxyMessage` normally. Yet the underlying cumulation buffer (a pooled, potentially direct `ByteBuf` allocated by the channel) remains permanently pinned. 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_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401CWE-1286

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. Prior to versions 4.1.135.Final and 4.2.15.Final, the HAProxy PROXY protocol v2 codec in netty leaks native or heap memory on every connection when a client sends a syntactically valid header containing nested `PP2_TYPE_SSL` TLVs (type-length-value records) at depth two or greater. The leak occurs on the successful parse path — no exception is thrown, the message fires downstream, the decoder removes itself, and the application releases the `HAProxyMessage` normally. Yet the underlying cumulation buffer (a pooled, potentially direct `ByteBuf` allocated by the channel) remains permanently pinned. Versions 4.1.135.Final and 4.2.15.Final patch the issue.

GitHub Advisory Database
Impact

The HAProxy PROXY protocol v2 codec in netty leaks native or heap memory on every connection when a client sends a syntactically valid header containing nested PP2_TYPE_SSL TLVs (type-length-value records) at depth two or greater. The leak occurs on the successful parse path — no exception is thrown, the message fires downstream, the decoder removes itself, and the application releases the HAProxyMessage normally. Yet the underlying cumulation buffer (a pooled, potentially direct ByteBuf allocated by the channel) remains permanently pinned.

References

https://github.com/netty/netty/security/advisories/GHSA-h2qv-fj59-j46jvendor-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-48059vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2488437issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48059.jsonweb
https://access.redhat.com/errata/RHSA-2026:53644vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:53645vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:48151vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:53646vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:66488vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:26586vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2026-48059 changed 2026-09-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-h2qv-fj59-j46j changed 2026-09-18CC-BY-4.0
NVDCVE-2026-48059 changed 2026-09-18Public domain