REDHAT-BUG-2489866: Buffer Overflow

Published Jun 17, 2026
·
Updated

NGINX Plus and NGINX Open Source have a vulnerability in the ngxhttpproxyv2module and ngxhttpgrpcmodule modules. This vulnerability exists when the proxyhttpversion to 2 or grpcpass directives are used to proxy HTTP/2 traffic, the ignoreinvalidheaders directive is set to off, and the largeclientheaderbuffers directive size is larger than 2 megabytes. A remote, unauthenticated attacker, along with conditions beyond their control, could send large headers while creating an upstream request. This may cause a heap-based buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR.

Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Affected Software

2 affected components
Nginx NGINX Plus
Nginx NGINX Open Source

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Set the ignore_invalid_headers directive to on (the vulnerability is present when ignore_invalid_headers is set to off).

    NGINX (ngx_http_proxy_v2_module / ngx_http_grpc_module) ignore_invalid_headers = on
  2. Configuration

    Reduce the large_client_header_buffers directive size to 2 megabytes or less (the vulnerability exists when large_client_header_buffers is larger than 2 megabytes).

    NGINX (ngx_http_proxy_v2_module / ngx_http_grpc_module) large_client_header_buffers = <= 2 megabytes
  3. Configuration

    Avoid using proxy_http_version to 2 when proxying HTTP/2 traffic through ngx_http_proxy_v2_module (the vulnerability exists when proxy_http_version to 2 is used).

    NGINX (ngx_http_proxy_v2_module / ngx_http_grpc_module) proxy_http_version = not 2
  4. Configuration

    Avoid using grpc_pass to proxy HTTP/2 traffic through ngx_http_grpc_module (the vulnerability exists when grpc_pass is used to proxy HTTP/2 traffic).

    NGINX (ngx_http_grpc_module) grpc_pass = do not proxy HTTP/2 via grpc_pass
  5. Compensating control

    If you cannot change configuration immediately, ensure ASLR is enabled on systems running NGINX (attackers could execute code when ASLR is disabled or bypassed).

Event History

Jun 17, 2026
Data Sourced
via Red Hat·04:02 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2489866?

The severity of REDHAT-BUG-2489866 is high, rated at 7.

2

How do I fix REDHAT-BUG-2489866?

To fix REDHAT-BUG-2489866, ensure that the proxy_http_version is not set to 2 and adjust the configuration to avoid the use of grpc_pass with the ignore_invalid_headers directive set to off.

3

What modules are affected by REDHAT-BUG-2489866?

The modules affected by REDHAT-BUG-2489866 are ngx_http_proxy_v2_module and ngx_http_grpc_module.

4

What type of vulnerability is REDHAT-BUG-2489866?

REDHAT-BUG-2489866 is a buffer overflow vulnerability.

5

In which software is REDHAT-BUG-2489866 found?

REDHAT-BUG-2489866 is found in Nginx NGINX Plus and Nginx NGINX Open Source.

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