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 the ngx_http_proxy_v2_module and ngx_http_grpc_module of F5 NGINX Open Source and NGINX Plus. It arises under conditions where HTTP/2 proxying is configured with proxy_http_version set to 2 or grpc_pass directives, ignore_invalid_headers is off, and large_client_header_buffers is configured with a size exceeding 2 megabytes. An unauthenticated remote attacker can exploit this by sending large crafted headers, causing a heap overflow in the NGINX worker process. This leads to a denial of service via process restart and may allow arbitrary code execution on systems with ASLR disabled or bypassed. Red Hat has released security updates addressing this issue in their NGINX packages for Red Hat Enterprise Linux 10.
Potential Impact
Successful exploitation can cause the NGINX worker process to crash and restart, resulting in denial of service. On systems where Address Space Layout Randomization (ASLR) is disabled or can be bypassed, attackers may achieve arbitrary code execution, leading to full compromise of the affected system. The vulnerability affects confidentiality, integrity, and availability of the service.
Mitigation Recommendations
Red Hat has released security updates for NGINX packages in Red Hat Enterprise Linux 10 that fix this vulnerability. Users should apply these official patches promptly. There is no indication that the vulnerability is mitigated by default or that no action is required. Patch status is confirmed by Red Hat advisories. No other specific mitigations are documented.
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
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 the ngx_http_proxy_v2_module and ngx_http_grpc_module of F5 NGINX Open Source and NGINX Plus. It arises under conditions where HTTP/2 proxying is configured with proxy_http_version set to 2 or grpc_pass directives, ignore_invalid_headers is off, and large_client_header_buffers is configured with a size exceeding 2 megabytes. An unauthenticated remote attacker can exploit this by sending large crafted headers, causing a heap overflow in the NGINX worker process. This leads to a denial of service via process restart and may allow arbitrary code execution on systems with ASLR disabled or bypassed. Red Hat has released security updates addressing this issue in their NGINX packages for Red Hat Enterprise Linux 10.
Potential Impact
Successful exploitation can cause the NGINX worker process to crash and restart, resulting in denial of service. On systems where Address Space Layout Randomization (ASLR) is disabled or can be bypassed, attackers may achieve arbitrary code execution, leading to full compromise of the affected system. The vulnerability affects confidentiality, integrity, and availability of the service.
Mitigation Recommendations
Red Hat has released security updates for NGINX packages in Red Hat Enterprise Linux 10 that fix this vulnerability. Users should apply these official patches promptly. There is no indication that the vulnerability is mitigated by default or that no action is required. Patch status is confirmed by Red Hat advisories. No other specific mitigations are documented.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- f5
- Date Reserved
- 2026-06-02T21:45:04.818Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- 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: 07/24/2026, 21:42:25 UTC
Last updated: 08/01/2026, 07:18:00 UTC
Views: 211
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.