CVE-2026-42055: NGINX HTTP/2 and gRPC Upstream Heap Buffer Overflow
- Vendors
- Red HatF5
CVE-2026-42055 is a heap-based buffer overflow in the ngx_http_proxy_v2_module and ngx_http_grpc_module modules of NGINX Plus and NGINX Open Source. The vulnerability occurs during upstream-request creation when HTTP/2 proxying is configured through proxy_http_version 2 or grpc_pass, ignore_invalid_headers is set to off, and the buffer size specified by large_client_header_buffers exceeds 2 megabytes. A remote, unauthenticated attacker can submit crafted oversized headers that, subject to additional conditions beyond the attacker's control, corrupt heap memory in an NGINX worker process. Exploitation can cause a worker-process restart or permit arbitrary code execution if Address Space Layout Randomization (ASLR) is disabled or bypassed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can crash and restart an NGINX worker process, disrupting request processing and causing denial of service. If ASLR is disabled or bypassed, the heap corruption can enable arbitrary code execution in the worker-process security context, potentially compromising the confidentiality, integrity, and availability of resources accessible to that process. Code execution is conditional rather than an assured consequence of triggering the overflow.
Mitigation
If you can’t patch tonight, do this now.
Break the vulnerable configuration combination by setting ignore_invalid_headers to on or reducing the individual buffer size in large_client_header_buffers to 2 megabytes or less. Alternatively, disable HTTP/2 upstream proxying through proxy_http_version 2 and avoid affected grpc_pass configurations where operationally feasible. Keep ASLR enabled as defense in depth; it does not prevent the overflow or worker-process denial of service and does not eliminate code-execution risk if bypassed.
Remediation
Patch, then assume compromise.
Install a vendor-supported update that explicitly fixes CVE-2026-42055. The nginx 1.31 branch first includes the fix in version 1.31.2; use a current supported fixed release or the appropriate distribution backport. Identified distribution fixes include Debian trixie nginx 1.26.3-3+deb13u7 and Alpine Linux nginx 1.26.3-r2 or later applicable package revisions. For RHEL, apply the update matching the installed nginx module and operating-system support stream, including RHSA-2026:100755, RHSA-2026:100756, RHSA-2026:100757, or RHSA-2026:100768 as applicable. VMware Tanzu NGINX Buildpack deployments should upgrade to version 1.2.91 or a subsequent fixed release. Affected-version boundaries and an exact NGINX Plus fixed release are not specified. Releases beyond End of Technical Support were not evaluated.
Exploits
No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-42055 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2026-42055 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-42055?
- As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-42055.
- Is there a patch for CVE-2026-42055?
- Install a vendor-supported update that explicitly fixes CVE-2026-42055. The nginx 1.31 branch first includes the fix in version 1.31.2; use a current supported fixed release or the appropriate distribution backport.
- What products are affected by CVE-2026-42055?
- F5 Nginx, F5 Nginx Plus, Red Hat Discovery, F5 Dos, Red Hat Hardened Images, and 8 more.
- How severe is CVE-2026-42055?
- CVE-2026-42055 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 5.4% (94th percentile) as of Nov 27, 2026.
Recent activity
92 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.