REDHAT-BUG-2588735: High severity maven/io.netty/netty-codec-http vulnerability

Published Dec 2, 2026
·
Updated

SpdyHttpDecoder in netty-codec-http buffers an in-progress request when it receives a non-final SYNSTREAM, and it appends the headers from every later non-final HEADERS frame on that stream to the buffered message. It applies no cumulative limit to the number of HEADERS frames, the number of header entries, or the total retained header size. The only length check, maxContentLength, covers the body (DATA) path, so a stream that sends only headers is never bounded. The buffered message is released only on a final frame, RSTSTREAM, a DATA overflow, or channel close, and an attacker is not required to send any of these.

A remote, unauthenticated attacker can open a single stream on a single connection and send an unbounded series of non-final HEADERS frames. The retained headers grow for the lifetime of the connection and cannot be garbage-collected. Because SPDY header blocks are zlib-compressed, a small amount of transmitted data can expand to up to roughly maxHeaderSize (16 KiB by default) of retained data per frame. This leads to OutOfMemoryError and denial of service for the whole JVM process.

Only applications that enable the Netty SPDY codec are affected, namely those using SpdyHttpDecoder in a pipeline with SpdyFrameCodec and SpdySessionHandler. This affects io.netty:netty-codec-http 4.2.0.Final through 4.2.18.Final, fixed in 4.2.19.Final, and 4.1.138.Final and earlier, fixed in 4.1.139.Final.

Affected versions: >= 4.2.0.Final, <= 4.2.18.Final; <=4.1.138.Final Patched versions: 4.2.19.Final; 4.1.139.Final CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5) CWE: CWE-400 Upstream advisory: https://github.com/netty/netty/security/advisories/GHSA-x436-m93c-g2q9 CVE requested by the Netty Project via PSIRTSUPT-32166.

Affected Software

1 affected component
maven/io.netty/netty-codec-http>=4.2.0.Final<=4.2.18.Final, <=4.1.138.Final

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 4.2.19.Final
  2. Upgrade

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

    Fixed in 4.1.139.Final

Event History

Dec 2, 2026
Data Sourced
via Red Hat·04:49 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are affected?

Only applications that enable the Netty SPDY codec are affected. Applications that do not use the SPDY codec are not affected by this behavior.

2

What access does an attacker need?

A remote, unauthenticated attacker only needs to be able to open a single SPDY stream on one connection and send repeated non-final HEADERS frames. The attacker does not need to send a final frame, reset the stream, or send body data.

3

Does the default header-size setting prevent memory exhaustion?

No. The default maxHeaderSize is roughly 16 KiB per decompressed header block, but there is no cumulative limit across non-final HEADERS frames. Compressed SPDY header blocks can therefore cause retained memory to grow indefinitely for the lifetime of the connection.

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