NGINX Open Source: Out-of-bounds Write
CVE-2026-42055 is a high-severity out-of-bounds write vulnerability in NGINX Open Source from F5, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 1.31.2, 1.30.3 as the first without the flaw, so updating NGINX Open Source to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 6.54% chance of exploitation within 30 days, which is in the top 6.1% of all scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update NGINX Open Source to 1.31.2 or 1.30.3, whichever matches your release line, or a later version.
- Update NGINX Plus to 37.0.2.1 or R36 P6, whichever matches your release line, or a later version.
- Update Update Infrastructure to 5.2 or a later version.
- Read the advisory on my.f5.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| F5 | NGINX Open Source | 1.13.10 up to, but not including, 1.31.2; 1.30.2 up to, but not including, 1.30.3 | 1.31.2, 1.30.3 |
| F5 | NGINX Plus | 37.0 up to, but not including, 37.0.2.1; R36 up to, but not including, R36 P6 | 37.0.2.1, R36 P6 |
| Red Hat | Red Hat Enterprise Linux 10 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 9 | Not specified in the record | Not stated |
| Red Hat | Red Hat Discovery 2 | Not specified in the record | Not stated |
| Red Hat | Red Hat Hardened Images | Not specified in the record | Not stated |
| Red Hat | Red Hat Update Infrastructure 5 | Not specified in the record | Not stated |
| Red Hat | Red Hat Openshift Data Foundation 4 | Not specified in the record | Not stated |
| F5 | Dos | 4.3.0 through 4.7.0; 4.9.0 | Not stated |
| F5 | Nginx Gateway Fabric | 1.3.0 through 1.6.2; 2.0.0 through 2.6.3 | Not stated |
| F5 | Nginx Ingress Controller | 3.5.0 through 3.7.2; 4.0.0 through 4.0.1; 5.0.0 through 5.5.0 | Not stated |
| F5 | Nginx Instance Manager | 2.17.0 through 2.22.0 | Not stated |
| F5 | Waf | 4.10.0 through 4.16.0; 5.2.0 through 5.8.0; 5.9.0 through 5.13.1 | Not stated |
| Red Hat | Discovery | Not specified in the record | Not stated |
| Red Hat | Hardened Images | Not specified in the record | Not stated |
| Red Hat | Update Infrastructure | 5.0 up to, but not including, 5.2 | 5.2 |
| Red Hat | Enterprise Linux | 8.0; 9.0; 10.0 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by CNA (f5.com).
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 9.2 | Critical | CNA (f5.com) |
| CVSS 3.1 | 8.1 | High | CNA (f5.com) |
| CVSS 3.1 | 8.1 | High | CNA |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
How developers prevent this class of flaw
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
- Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
- Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Third-party and government advisories
- access.redhat.com/errata/RHSA-2026:27197Third Party Advisory
- access.redhat.com/errata/RHSA-2026:36331Third Party Advisory
- access.redhat.com/errata/RHSA-2026:36364Third Party Advisory
- access.redhat.com/errata/RHSA-2026:36618Third Party Advisory
- access.redhat.com/errata/RHSA-2026:36639Third Party Advisory
- access.redhat.com/errata/RHSA-2026:38847Third Party Advisory
- access.redhat.com/errata/RHSA-2026:44481Third Party Advisory
- access.redhat.com/errata/RHSA-2026:46836Third Party Advisory
- access.redhat.com/security/cve/CVE-2026-42055Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2489866Issue Tracking, Third Party Advisory
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42055.jsonThird Party Advisory
Other references
Other vulnerabilities in NGINX Open Source
- 8.1 High severity
- 8.1 High severity
- 8.1 High severity
- 8.2 High severity
- 8.1 High severity
- 8.1 High severity
Recent Out-of-bounds Write vulnerabilities
- 8.1 High severity
- 7.1 High severity
- 7.8 High severity
- 7.8 High severity
- 9.8 Critical severity
- 7.8 High severity
Spotted an error? Tell us.