CVE-2026-42055: CWE-122 Heap-based Buffer Overflow in F5 NGINX Open Source
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.
AI Analysis
Technical Summary
CVE-2026-42055 is a heap-based buffer overflow vulnerability in NGINX Open Source and NGINX Plus affecting the ngx_http_proxy_v2_module and ngx_http_grpc_module. It is triggered when proxy_http_version is set to 2 or grpc_pass directives are used to proxy HTTP/2 traffic, ignore_invalid_headers is off, and large_client_header_buffers is configured larger than 2 MB. Under these conditions, a remote unauthenticated attacker can send crafted large headers that cause a heap overflow in the NGINX worker process, potentially leading to a denial of service via process restart or arbitrary code execution on systems with ASLR disabled or bypassed. Red Hat has issued security advisories and patches for affected NGINX packages in Red Hat Enterprise Linux 10 to fix this vulnerability. The CVSS v3.1 base score is 8.1, indicating high severity with network attack vector, high impact on confidentiality, integrity, and availability, and requiring no privileges or user interaction but high attack complexity.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause a heap-based buffer overflow in the NGINX worker process, which can lead to denial of service through process restart. Additionally, on systems where Address Space Layout Randomization (ASLR) is disabled or can be bypassed, the attacker may achieve arbitrary code execution. This impacts the confidentiality, integrity, and availability of the affected system. No known exploits in the wild have been reported at the time of this advisory.
Mitigation Recommendations
Red Hat has released security updates for NGINX packages on Red Hat Enterprise Linux 10 that address this vulnerability. Applying these official patches will remediate the issue. Users should update to the fixed versions provided by Red Hat as detailed in their advisories (e.g., nginx-1.26.3-6.el10_2.5 and later). Since this is not a cloud service, remediation depends on applying vendor patches. Patch status is confirmed by Red Hat advisories linked in the references. No alternative mitigations or workarounds are indicated in the vendor advisory.
CVE-2026-42055: CWE-122 Heap-based Buffer Overflow in F5 NGINX Open Source
Description
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.
CVSS v3.1
Score 8.1high
Affected software
F5
NGINX Open Source
F5
NGINX Plus
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42055 is a heap-based buffer overflow vulnerability in NGINX Open Source and NGINX Plus affecting the ngx_http_proxy_v2_module and ngx_http_grpc_module. It is triggered when proxy_http_version is set to 2 or grpc_pass directives are used to proxy HTTP/2 traffic, ignore_invalid_headers is off, and large_client_header_buffers is configured larger than 2 MB. Under these conditions, a remote unauthenticated attacker can send crafted large headers that cause a heap overflow in the NGINX worker process, potentially leading to a denial of service via process restart or arbitrary code execution on systems with ASLR disabled or bypassed. Red Hat has issued security advisories and patches for affected NGINX packages in Red Hat Enterprise Linux 10 to fix this vulnerability. The CVSS v3.1 base score is 8.1, indicating high severity with network attack vector, high impact on confidentiality, integrity, and availability, and requiring no privileges or user interaction but high attack complexity.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause a heap-based buffer overflow in the NGINX worker process, which can lead to denial of service through process restart. Additionally, on systems where Address Space Layout Randomization (ASLR) is disabled or can be bypassed, the attacker may achieve arbitrary code execution. This impacts the confidentiality, integrity, and availability of the affected system. No known exploits in the wild have been reported at the time of this advisory.
Mitigation Recommendations
Red Hat has released security updates for NGINX packages on Red Hat Enterprise Linux 10 that address this vulnerability. Applying these official patches will remediate the issue. Users should update to the fixed versions provided by Red Hat as detailed in their advisories (e.g., nginx-1.26.3-6.el10_2.5 and later). Since this is not a cloud service, remediation depends on applying vendor patches. Patch status is confirmed by Red Hat advisories linked in the references. No alternative mitigations or workarounds are indicated in the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- f5
- Date Reserved
- 2026-06-02T21:45:04.818Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-42055","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27197","vendor":"Red Hat"}]
Threat ID: 6a32b82c9f87a2db090fd5e5
Added to database: 06/17/2026, 15:07:24 UTC
Last enriched: 08/01/2026, 20:46:14 UTC
Last updated: 09/15/2026, 10:01:32 UTC
Views: 276
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.