F5-K000161584: 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.

Affected Software

14 affected componentsFixes available
F5 NGINX Plus>=37.0.0<=37.0.1
37.0.2.1
F5 NGINX Plus=33
36
F5 NGINX Open Source=1.31.1, >=1.30.0<=1.30.2
1.31.21.30.3
F5 NGINX Instance Manager>=2.17.0<=2.22.0
2.22.1
F5 F5 WAF for NGINX>=5.9.0<=5.13.1
F5 NGINX App Protect WAF>=5.2.0<=5.8.0
F5 NGINX App Protect WAF>=4.10.0<=4.16.0
F5 F5 DoS for NGINX=4.9.0
F5 NGINX App Protect DoS>=4.3.0<=4.7.0
F5 NGINX Gateway Fabric>=2.0.0<=2.6.3
2.6.4
F5 NGINX Gateway Fabric>=1.3.0<=1.6.2
F5 NGINX Ingress Controller>=5.0.0<=5.5.0
5.5.1
F5 NGINX Ingress Controller>=4.0.0<=4.0.1
F5 NGINX Ingress Controller>=3.5.0<=3.7.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 37.0.2.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 36
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.31.21.30.3
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.22.1
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.6.4
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.5.1

Event History

Jun 17, 2026
Advisory Published
via F5·01:44 PM
Data Sourced
via F5·01:44 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Exposure requires HTTP/2 traffic to be proxied using either proxy_http_version set to 2 or grpc_pass, with ignore_invalid_headers set to off and large_client_header_buffers larger than 2 megabytes. Deployments that do not meet all of these conditions are not described as affected.

2

Does exploitation require authentication or user interaction?

No. The described attacker is remote and unauthenticated, and no user interaction is required. Exploitation also depends on conditions beyond the attacker’s control.

3

What is the likely impact if the vulnerability is exploited?

Large headers can trigger a heap-based buffer overflow in an NGINX worker process, leading to a restart. Code execution is additionally possible where ASLR is disabled or where an attacker can bypass ASLR.

4

What configuration changes could reduce exposure if patching is not immediately possible?

Avoid the affected configuration combination where possible: do not proxy HTTP/2 using proxy_http_version set to 2 or grpc_pass while ignore_invalid_headers is off and large_client_header_buffers exceeds 2 megabytes. Reducing the large_client_header_buffers size to 2 megabytes or less, or not disabling invalid-header handling, removes stated prerequisites.

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