CVE-2026-142443: Io.netty/netty-codec-http: netty: unbounded http header accumulation across spdy headers frames in spdyhttpdecoder

Published Dec 2, 2026
·
Updated

A flaw was found in netty-codec-http. A remote, unauthenticated attacker could cause a Denial of Service (DoS) by exhausting system memory. By opening a connection and continuously sending request header frames, an attacker forces the component to buffer incoming header data without enforcing size or count limits. This unbounded allocation causes memory usage to grow until the application encounters an out-of-memory error and crashes.

Other sources

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.

— Red Hat

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
CVE Published
via MITRE·06:27 PM
Data Sourced
via MITRE·06:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What access does an attacker need to trigger the denial of service?

An attacker needs only network access to the affected application. Exploitation does not require authentication, user interaction, or more than a single stream on a single connection.

2

Which traffic pattern causes memory to grow without bound?

The attacker opens a stream with a non-final SYN_STREAM and repeatedly sends non-final HEADERS frames on that stream. The decoder appends each frame's headers to the buffered in-progress request without cumulative limits on frame count, header count, or retained header size.

3

Does the configured maxContentLength limit prevent this attack?

No. maxContentLength applies only to the DATA/body path, so a stream carrying only HEADERS frames is not bounded by that check.

4

When is the retained header data released?

The buffered message is released only when a final frame arrives, the stream receives RST_STREAM, a DATA overflow occurs, or the channel closes. An attacker can avoid these conditions by continually sending non-final HEADERS frames.

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