GHSA-c2rx-5r8w-8xr2: High severity maven/io.netty:netty-codec-http3 vulnerability

Published Jun 8, 2026
·
Updated

Summary The default configuration of the Http3ConnectionHandler in the Netty HTTP/3 codec lacks an enforced maximum header size limit. When a peer does not explicitly specify HTTP3SETTINGSMAXFIELDSECTIONSIZE, the implementation defaults to an unbounded limit. This insecure default configuration allows a malicious client or server to send an enormous number of headers, leading to a memory exhaustion Denial of Service via an OutOfMemoryError.

Details Netty securely limits header sizes for older protocols. In HTTP/1.1, Netty strictly enforces an 8192-byte limit out-of-the-box via HttpObjectDecoder. For HTTP/2, while RFC 9113 specifies that SETTINGSMAXHEADERLISTSIZE defaults to unlimited, Netty securely overrides this RFC default by enforcing an 8192-byte limit (Http2CodecUtil.DEFAULTHEADERLISTSIZE).

However, this secure-by-default configuration is missing in the HTTP/3 implementation. While Netty provides a mechanism to configure the maximum header field section size via Http3Settings, its out-of-the-box behaviour strictly follows RFC 9114's unlimited default.

Because many developers rely on the framework's default configurations and basic constructors, their applications are unknowingly left vulnerable. This nearly infinite default limit is passed into Http3FrameCodec#newFactory and stored as maxHeaderListSize inside Http3FrameCodec.

A bad actor can continuously send HTTP/3 headers within a connection, exploiting the insecure default configuration to consume server memory unconditionally until the application crashes with an OutOfMemoryError.

Impact Denial of Service via memory exhaustion. All applications using Netty's HTTP/3 codec with its default configuration are impacted.

Affected Software

1 affected componentFixes available
maven/io.netty:netty-codec-http3>=4.2.0.Final<=4.2.14.Final
4.2.15.Final

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 4.2.15.Final
  2. Configuration

    Configure Http3Settings to enforce a finite maximum header field section size instead of the unbounded default.

    Netty HTTP/3 codec HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE = finite maximum

Event History

Jun 8, 2026
Advisory Published
via GitHub·07:02 PM
Data Sourced
via GitHub·07:02 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of GHSA-c2rx-5r8w-8xr2?

GHSA-c2rx-5r8w-8xr2 has a severity rating of high, with a score of 7.5.

2

How do I fix GHSA-c2rx-5r8w-8xr2?

To fix GHSA-c2rx-5r8w-8xr2, explicitly set the `HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE` in your `Http3ConnectionHandler` configuration.

3

What are the potential impacts of GHSA-c2rx-5r8w-8xr2?

The default configuration of GHSA-c2rx-5r8w-8xr2 can lead to denial of service due to unbounded header sizes.

4

Which software versions are affected by GHSA-c2rx-5r8w-8xr2?

GHSA-c2rx-5r8w-8xr2 affects versions prior to netty 4.2.15.Final.

5

Is there a workaround for GHSA-c2rx-5r8w-8xr2 until a patch is applied?

As a workaround for GHSA-c2rx-5r8w-8xr2, ensure to configure `HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE` appropriately.

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