CVE-2026-93564: Io.netty/netty-codec-haproxy: netty: haproxy proxy-v2 nested-tlv grandchild bytebuf reference-count leak (incomplete fix of pr #16881)

Published Sep 18, 2026
·
Updated

HAProxy PROXY-v2 nested-TLV grandchild ByteBuf reference-count leak (incomplete fix of PR #16881)

Affected Software

2 affected components
Netty netty-codec-haproxy<=4.2.17.Final
Netty netty-codec-haproxy<=4.1.137.Final

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven:io.netty:netty-codec-haproxy to a version that resolves this vulnerability.

    Fixed in 4.1.137.Final
  2. Upgrade

    Upgrade maven:io.netty:netty-codec-haproxy to a version that resolves this vulnerability.

    Fixed in 4.2.17.Final
  3. Configuration

    On the exception path in HAProxyMessage.readNextTLV inner catch (referenced at HAProxyMessage.java:340), replace the flatten-unaware call releaseTlvs(encapsulatedTlvs) with the recursive releaseDeep(encapsulatedTlvs) so the grandchild ByteBuf tree is fully released.

    io.netty.handler.codec.haproxy.HAProxyMessage.readNextTLV (HAProxyMessage.java:340) inner catch releases of nested SSL TLV tree = releaseDeep(encapsulatedTlvs) instead of releaseTlvs(encapsulatedTlvs)
  4. Compensating control

    Ensure the PROXY-protocol v2 decoder (HAProxyMessageDecoder, a ByteToMessageDecoder) is only exposed at the pipeline edge and is protected against sustained malformed header flooding to mitigate memory-exhaustion from the attacker-triggered exception path.

Event History

Sep 18, 2026
Data Sourced
via Red Hat·10:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·02:13 PM
Data Sourced
via MITRE·02:13 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What traffic is required to trigger the leak?

An attacker needs to send a HAProxy PROXY-v2 message containing nested TLVs in which an SSL TLV child has grandchildren, followed by a malformed sibling TLV that causes the inner error-handling path in readNextTLV to execute. The malformed sibling causes cleanup to miss the nested grandchildren.

2

Who is exposed to this issue?

Deployments using Netty's netty-codec-haproxy component to parse HAProxy PROXY-v2 messages are exposed when they process the affected nested-TLV structure. The supplied severity vector indicates the issue is reachable over the network with low attack complexity and does not require privileges or user interaction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203