NGINX
CVE-2026-42055
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify NGINX vhost proxying HTTP/2 or gRPC upstream
-
DeliverySend request with oversized headers
-
ExploitTrigger heap overflow in worker header encoder
-
ExecutionCorrupt heap state in NGINX worker
-
PersistLeverage disabled or bypassed ASLR
-
ImpactExecute code as worker user or crash service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Target NGINX vhost must use proxy_http_version 2 or a grpc_pass directive to proxy upstream over HTTP/2, AND have ignore_invalid_headers explicitly set to off (default is on), AND have large_client_header_buffers configured larger than 2 megabytes (default 4×8k). All three non-default settings must be present simultaneously. Crashing the worker requires only those config preconditions plus the ability to reach the vhost over the network with no authentication or user interaction. Achieving code execution additionally requires Address Space Layout Randomization to be disabled on the host, or an independent ASLR-bypass primitive - which the vendor describes as 'conditions beyond their control' for the attacker - limiting realistic RCE to hardening-deficient deployments. |
| Impact | CVSS 4.0 of 9.2 reflects network reach with total VC/VI/VA impact, but AC:H and AT:P encode the real-world friction: the attacker needs a non-default config (proxy_http_version 2 or grpc_pass + ignore_invalid_headers off + large_client_header_buffers >2 MB) AND must bypass ASLR for code execution rather than just a crash. CISA SSVC confirms this nuance - Exploitation: none, Automatable: no, Technical Impact: total - meaning impact ceiling is severe but realistic exploitation is constrained and not mass-targetable. The vendor description itself notes 'conditions beyond their control' are required, supporting a non-default-config gating story. Without KEV, without a public POC, and with EPSS not provided, this should be patched on a normal cycle for default-config installs and prioritized for any reverse-proxy fleet known to terminate gRPC or HTTP/2 upstream with custom buffer tuning. |
| Exploit ScenarioDerived | An attacker sends a request through an internet-facing NGINX reverse proxy whose virtual host is configured with grpc_pass (or proxy_http_version 2) plus ignore_invalid_headers off and a >2 MB large_client_header_buffers value, attaching crafted oversized HTTP headers. The worker overflows its heap while re-encoding headers for the upstream HTTP/2 connection, causing repeated worker restarts (DoS) or, on hosts where ASLR is disabled or bypassed, controlled code execution as the NGINX worker user. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 18, 2026
Heap-based buffer overflow in NGINX Plus and NGINX Open Source affects deployments that proxy HTTP/2 or gRPC traffic upstream when ignore_invalid_headers is off and large_client_header_buffers exceeds 2 MB. Remote unauthenticated attackers sending oversized headers can crash the worker process, and where ASLR is disabled or bypassable, achieve arbitrary code execution. No public exploit identified at time of analysis and CISA SSVC marks exploitation as 'none', but technical impact is rated total.
Earlier versions of this analysis (2)
Heap-based buffer overflow in NGINX Plus and NGINX Open Source affects deployments proxying HTTP/2 or gRPC upstream traffic with a non-default configuration (proxy_http_version 2 or grpc_pass, ignore_invalid_headers off, and large_client_header_buffers > 2 MB). Remote unauthenticated attackers sending oversized headers can crash the worker process and, on hosts where ASLR is disabled or bypassed, potentially achieve code execution. No public exploit identified at time of analysis, and SSVC marks exploitation as 'none' with the attack not currently considered automatable.
Heap-based buffer overflow in NGINX Plus and NGINX Open Source affects the ngx_http_proxy_v2_module and ngx_http_grpc_module when proxying HTTP/2 traffic under a specific non-default configuration. A remote unauthenticated attacker sending oversized headers can crash the worker process and, on systems without effective ASLR, potentially achieve code execution. No public exploit identified at time of analysis, and the high attack complexity (AC:H) reflects multiple configuration prerequisites that limit real-world exposure.
RemediationAI
Patch available per vendor advisory - upgrade NGINX Open Source or NGINX Plus to the fixed branch listed in F5 article K000161584 (https://my.f5.com/manage/s/article/K000161584); exact fix versions were not included in the input data and should be read directly from that advisory. If immediate upgrade is not possible, remove the vulnerable configuration combination by lowering large_client_header_buffers to 2 MB or less (default is 8k, so most operators only need to revert custom tuning), or by setting ignore_invalid_headers back to its default of on, or by switching proxy_http_version back to 1.1 where the upstream service supports it (note: this disables HTTP/2 multiplexing to that backend and is not viable for grpc_pass blocks). Ensure ASLR is enabled on the host as defense-in-depth so that successful overflows degrade to a worker restart rather than RCE.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in ngx_http_proxy_v2_module and ngx_http_grpc_module - the upstream HTTP/2 and gRPC proxy paths in NGINX. When proxy_http_version is set to 2 or grpc_pass is used, NGINX re-encodes downstream headers into HPACK frames for the upstream connection. With large_client_header_buffers configured above 2 MB and ignore_invalid_headers set to off, the header-handling path mismanages the buffer boundary, producing a CWE-122 heap-based buffer overflow in the worker. The affected CPEs cover both f5:nginx_open_source and f5:nginx_plus across all versions still under technical support, indicating the bug exists in the shared upstream codebase rather than a Plus-only module.
Know when Nginx Plus gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (AV:N/PR:N/UI:N), but AC:H because exploitation requires a non-default three-setting config and ASLR bypass for full C/I/A impact.
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (f5).
CVSS VectorVendor: f5
Lifecycle Timeline
5DescriptionCVE.org
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_proxy_v2_module and ngx_http_grpc_module modules. This vulnerability exists when the proxy_http_version to 2 or grpc_pass directives are used to proxy HTTP/2 traffic, the ignore_invalid_headers directive is set to off, and the large_client_header_buffers 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.
Articles & Coverage 2
Executive ViewAI
NGINX Open Source and NGINX Plus are vulnerable to a critical attack (CVE-2026-42055, CVSS 9.2) that can render web servers unavailable or compromise them entirely, affecting any organization dependent on NGINX for web hosting, APIs, or traffic management. No public exploit identified at time of analysis, though the vulnerability affects configurations many deployments possess, creating significant risk. Since no vendor patch exists, organizations must immediately implement configuration-based safeguards to protect critical infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enable ignore_invalid_headers setting, (2) Set large_client_header_buffers to 2 MB or less, (3) Disable HTTP/2 or gRPC proxying where not required, (4) Deploy WAF with rules blocking oversized headers, (5) Implement process crash monitoring and alerting to detect exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Affected Products (CPE)CVE.org
More in Nginx Plus
View allDenial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Use-after-free in NGINX Plus and NGINX Open Source can crash a worker process handling HTTP/2-proxied requests and, if A
Heap buffer overflow in NGINX Plus and NGINX Open Source when HTTP/2 is enabled lets remote, unauthenticated attackers c
Heap buffer overflow in NGINX Plus and NGINX Open Source ngx_http_rewrite_module allows remote attackers to crash worker
Use-after-free in NGINX Plus and NGINX Open Source HTTP/3 processing lets a remote, unauthenticated attacker restart the
A crafted HTTP request can drive an NGINX worker process into a use-after-free condition on both NGINX Open Source and N
Use-after-free in NGINX's mail proxy lets remote unauthenticated attackers crash a worker process or corrupt its memory,
Heap buffer overflow in NGINX Plus and NGINX Open Source lets unauthenticated remote attackers crash worker processes (D
Heap buffer overflow in NGINX Plus and NGINX Open Source can be triggered by unauthenticated remote attackers through cr
Unauthenticated remote attackers can trigger a use-after-free in NGINX's ngx_http_core_module when asynchronous file I/O
Heap buffer overflow in NGINX Plus and NGINX Open Source ngx_http_rewrite_module can be triggered by unauthenticated rem
Remote, unauthenticated denial of service affects NGINX deployments that terminate TLSv1.3 on a `listen ... ssl` server
Same weakness CWE-122 – Heap-based Buffer Overflow
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Proxy LTS 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Manager Server LTS 4.3 | Affected |
| SUSE CaaS Platform 4.0 | Affected |
| SUSE Enterprise Storage 6 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP1 | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy 4.0 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.0 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Server 4.0 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
| private-registry/1.2/harbor-portal private-registry/harbor-nginx private-registry/harbor-portal suse/nginx suse/rmt-nginx | Affected |
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB