{"id":"CVE-2026-48059","published":"2026-06-12T14:42:44Z","modified":"2026-09-18T12:04:39Z","title":"Netty HAProxy: Unbalanced Reference Count in Nested PP2_TYPE_SSL TLV Parsing Leads to Memory Exhaustion","vendor":"netty","product":"netty","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00882,"percentile":0.56901,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"},{"id":"CWE-1286","name":"Improper Validation of Syntactic Correctness of Input"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-h2qv-fj59-j46j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/netty/netty/releases/tag/netty-4.1.135.Final","tags":["x_refsource_MISC"]},{"url":"https://github.com/netty/netty/releases/tag/netty-4.2.15.Final","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-48059","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2488437","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48059.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53644","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53645","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:48151","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53646","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:66488","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26586","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:41951","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:50085","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:65126","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:36820","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37390","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26018","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26017","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:34608","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54435","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":11.38},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"netty","affectedVersions":[{"vendor":"netty","product":"netty","versions":[">= 4.2.0.Final, < 4.2.15.Final","< 4.1.135.Final"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-12T16:14:17.314653Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.netty:netty-codec-haproxy","vulnerableRanges":[">=4.2.0.Final, <4.2.15.Final","<4.1.135.Final"],"patched":["4.2.15.Final","4.1.135.Final"],"from":["GHSA-h2qv-fj59-j46j"],"provenance":"source"}],"summary":{"text":"Netty's HAProxy PROXY protocol v2 codec, prior to versions 4.1.135.Final and 4.2.15.Final, fails to release the underlying cumulation buffer when a syntactically valid header contains nested PP2_TYPE_SSL TLVs at depth two or greater, leaking native or heap memory on each connection. An attacker able to reach the network-facing listener can trigger this remotely by sending such a header, with no authentication or user interaction required and the default configuration sufficing.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:32Z"},"euvd":{"id":"EUVD-2026-36457","exploited":false,"provenance":"source"}}