REDHAT-BUG-2515374: High severity maven/io.netty/netty-codec-xml vulnerability

Published Aug 13, 2026
·
Updated

Netty is an asynchronous, event-driven network application framework. Prior to 4.1.136.Final and 4.2.16.Final, io.netty.handler.codec.xml.XmlFrameDecoder.decode() failed to preserve closing-tag parser state across invocations, so an unauthenticated remote attacker could trickle-feed repeated </ sequences that repeatedly rescanned the accumulated buffer and exhausted an EventLoop thread's CPU, causing denial of service with a maxFrameLength of 1 MB. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.

Affected Software

1 affected component
maven/io.netty/netty-codec-xml<4.1.136.Final, <4.2.16.Final

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade io.netty/netty to a version that resolves this vulnerability.

    Fixed in 4.1.136.Final
  2. Upgrade

    Upgrade io.netty/netty to a version that resolves this vulnerability.

    Fixed in 4.2.16.Final

Event History

Aug 13, 2026
Data Sourced
via Red Hat·03:50 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service issue?

Deployments using the netty-codec-xml component with XmlFrameDecoder.decode() before versions 4.1.136.Final or 4.2.16.Final are affected when XmlFrameDecoder processes attacker-controlled XML input. The described CPU exhaustion occurs with maxFrameLength set to 1 MB.

2

What does an attacker need to exploit the issue?

An unauthenticated remote attacker needs to be able to send XML data to the affected decoder. They can trickle-feed repeated </ sequences, causing repeated rescans of the accumulated buffer and CPU exhaustion of an EventLoop thread.

3

What is the practical impact?

Successful exploitation can exhaust CPU on an EventLoop thread and cause denial of service. The provided information does not describe confidentiality or integrity impact.

4

How can the issue be remediated?

Upgrade to Netty version 4.1.136.Final or 4.2.16.Final, which fix the parser-state handling issue in XmlFrameDecoder.decode().

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