Heap-Based Buffer Overflow in NGINX Plus and Open Source Web Server
CVE-2026-42055
What is CVE-2026-42055?
The vulnerability in NGINX Plus and NGINX Open Source arises from improper handling of HTTP/2 traffic through the ngx_http_proxy_v2_module and ngx_http_grpc_module. When configured with specific directives, such as proxy_http_version set to 2 and the ignore_invalid_headers directive turned off, an attacker could exploit a design flaw allowing them to craft large headers in upstream requests. This may trigger a heap-based buffer overflow in the NGINX worker process, potentially causing a server restart. Furthermore, in environments where Address Space Layout Randomization (ASLR) is disabled or bypassed, attackers may execute arbitrary code, posing severe security risks.
Affected Version(s)
NGINX Open Source 1.13.10 < 1.31.2
NGINX Open Source 1.30.2 < 1.30.3
NGINX Plus 37.0 < 37.0.2.1
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved