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.
Security readout for executives and security teams
Plain-English summary
A flaw in the Netty networking library's HAProxy protocol decoder lets a remote attacker send a malformed message that leaks memory on the server. Repeated abuse can exhaust resources and crash applications that trust upstream proxy headers, disrupting availability of services built on Netty.
Executive priority
Treat as a high-priority patch cycle for internet-facing or partner-facing services that speak PROXY protocol v2. Not a fire drill: no known exploitation and impact is availability only, but the fix is well-defined and vendor advisories are already flowing.
Technical view
In netty-codec-haproxy before 4.1.135.Final and 4.2.15.Final, HAProxyMessage.readNextTLV() retains a slice of the pooled cumulation buffer before reading the client and verify fields of a PP2_TYPE_SSL TLV. A TLV length under 5 triggers IndexOutOfBoundsException, which HAProxyMessageDecoder does not catch, so the retained slice is never released. Repeated crafted frames drive a memory leak and availability loss.
Likely exposure
Any service using netty-codec-haproxy to terminate or parse PROXY protocol v2 with SSL TLVs from an upstream load balancer or peer. Exposure widens if the PROXY-speaking endpoint is reachable by untrusted clients or if upstream proxies do not sanitize TLV lengths.
Exploitation context
Not listed in CISA KEV and no public reports of active exploitation are cited in the bundle. CVSS 3.1 base 7.5 (AV:N/AC:L/PR:N/UI:N/A:H) reflects a network-reachable, unauthenticated availability impact. Red Hat has issued multiple vendor advisories (RHSA-2026:26017/26018/26586/34608/36820/37390), indicating meaningful downstream reach.
Researcher notes
Root cause is missing release of a retainedSlice when readByte/readInt overrun a short PP2_TYPE_SSL TLV; HAProxyMessageDecoder only catches HAProxyProtocolException, letting IndexOutOfBoundsException escape with the slice still held. CWE-703 and CWE-805 apply. Confirm reachability of the HAProxyMessageDecoder in your pipeline before prioritizing; services that do not enable PROXY protocol are not affected.
Mitigation direction
Upgrade netty-codec-haproxy to 4.1.135.Final or 4.2.15.Final across all services and container images.
Apply Red Hat RHSA-2026:26017, 26018, 26586, 34608, 36820, and 37390 to affected platforms.
Restrict PROXY protocol endpoints so only trusted load balancers can send PP2 TLVs.
Consult vendor advisories for downstream products that embed Netty until first-party fixes ship.
Add capacity and memory alerts on Netty-based services to catch leak-driven degradation early.
Validation and detection
Inventory Java services and dependencies for netty-codec-haproxy versions using SCA or dependency scans.
Confirm upgraded builds resolve to 4.1.135.Final or 4.2.15.Final and redeploy.
Verify Red Hat patched RPMs are installed on affected RHEL and middleware hosts.
Review network policy to ensure PROXY protocol listeners are not exposed to untrusted networks.
Monitor direct memory and pooled buffer metrics after deploy to confirm no residual leak.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-703: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-703 · source CWE mapping
Improper Check or Handling of Exceptional Conditions
Improper Check or Handling of Exceptional Conditions represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Buffer Access with Incorrect Length Value represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.