---
id: CVE-2026-48059
title: >-
  Netty is a network application framework for development of protocol servers
  and clients
summary: >-
  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…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
  - CWE-1286
vendor: netty
product: netty
affected:
  - netty < 4.1.135
  - 'netty >= 4.2.0, < 4.2.15'
patched:
  - netty 4.2.15
published: '2026-06-12'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T13:18:30.730'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-48059'
references:
  - url: 'https://github.com/netty/netty/releases/tag/netty-4.1.135.Final'
    label: security-advisories@github.com
  - url: 'https://github.com/netty/netty/releases/tag/netty-4.2.15.Final'
    label: security-advisories@github.com
  - url: 'https://github.com/netty/netty/security/advisories/GHSA-h2qv-fj59-j46j'
    label: security-advisories@github.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:26017'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:26018'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:26586'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:34608'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:36820'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:37390'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:41951'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:48151'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:50085'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:53644'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:53645'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:53646'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:54435'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:65126'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:66488'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-48059'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2488437'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48059.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:53806'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-48059'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-48059'
  - url: 'https://github.com/advisories/GHSA-h2qv-fj59-j46j'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - ghsa
  - maven
epss: 0.00882
epssPercentile: 0.57369
aliases:
  - GHSA-h2qv-fj59-j46j
ecosystem: maven
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-06-12T16:14:17.314653Z'
scores:
  nvd: 7.5
  cna: 8.7
  ghsa: 7.5
  vendor: 7.5
ingestedAt: '2026-07-03T14:03:37.103Z'
---

## Overview

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

- `netty < 4.1.135`
- `netty >= 4.2.0, < 4.2.15`

## Remediation

Upgrade past the affected range:

- `netty 4.2.15`

## Package advisory (CVE-2026-48059)

Affected packages:

- `io.netty:netty-codec-haproxy >= 4.2.0.Final, <= 4.2.14.Final`
- `io.netty:netty-codec-haproxy <= 4.1.134.Final`

Patched in:

- `io.netty:netty-codec-haproxy 4.2.15.Final`
- `io.netty:netty-codec-haproxy 4.1.135.Final`

Source: https://github.com/advisories/GHSA-h2qv-fj59-j46j

## Vendor advisories

- **RHSA-2026:53644** · Red Hat · fixed in: Red Hat JBoss EAP 7.4 ELS for RHEL 7 Server · released 2026-08-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:53644)
- **RHSA-2026:48151** · Red Hat · fixed in: Cryostat 4 on RHEL 9 · released 2026-07-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:48151)
- **RHSA-2026:26586** · Red Hat · fixed in: Red Hat Build of Apache Camel 3.33 for Quarkus 3.33.2.SP1 · released 2026-06-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:26586)
- **RHSA-2026:41951** · Red Hat · fixed in: Red Hat Data Grid 8.6.2 · released 2026-07-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:41951)
- **RHSA-2026:53806** · Red Hat · fixed in: Red Hat JBoss Enterprise Application Platform 7.4.25 · released 2026-08-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:53806)
- **RHSA-2026:50085** · Red Hat · fixed in: Red Hat JBoss Enterprise Application Platform 8.1 · released 2026-08-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:50085)
- **RHSA-2026:36820** · Red Hat · fixed in: Red Hat OpenShift Dev Spaces 3.29 · released 2026-07-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:36820)
- **RHSA-2026:37390** · Red Hat · fixed in: Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16 · released 2026-07-09 · [advisory](https://access.redhat.com/errata/RHSA-2026:37390)
- **RHSA-2026:26018** · Red Hat · fixed in: Red Hat build of Quarkus 3.27.4.SP1 · released 2026-06-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:26018)
- **RHSA-2026:26017** · Red Hat · fixed in: Red Hat build of Quarkus 3.33.2.SP1 · released 2026-06-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:26017)
- **RHSA-2026:34608** · Red Hat · fixed in: Streams for Apache Kafka 2.9.4 · released 2026-07-02 · [advisory](https://access.redhat.com/errata/RHSA-2026:34608)
- **Red Hat VEX** · Important · affected: OpenShift Serverless, Red Hat build of Apache Camel - HawtIO 4, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat build of Apicurio Registry 3, Red Hat build of Debezium 3, Red Hat Build of Keycloak, … · no fix planned: Red Hat build of Debezium 3, Red Hat Fuse 7, OpenShift Serverless, Red Hat build of Apache Camel - HawtIO 4, … · updated 2026-09-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48059.json)
- **RHSA-2026:65126** · Red Hat · fixed in: Red Hat OpenShift AI 2.25 · released 2026-09-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:65126)
- **RHSA-2026:66488** · Red Hat · fixed in: Red Hat AMQ Broker 7.14.1 · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66488)
- **RHSA-2026:53645** · Red Hat · fixed in: Red Hat JBoss EAP 7.4 ELS for RHEL 8 · released 2026-08-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:53645)
- **RHSA-2026:53646** · Red Hat · fixed in: Red Hat JBoss EAP 7.4 ELS for RHEL 9 · released 2026-08-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:53646)
