NGINX Open Source: Heap-based Buffer Overflow
CVE-2026-27654 is a high-severity heap-based buffer overflow vulnerability in NGINX Open Source from F5, with a CVSS 3.1 base score of 8.2 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.29.7, 1.28.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 26.5% chance of exploitation within 30 days, which is in the top 1.96% of all scored CVEs.
EPSS places it among the vulnerabilities most likely to be exploited soon.
What to do
- Update NGINX Open Source to 1.29.7 or 1.28.3, whichever matches your release line, or a later version.
- Update NGINX Plus to R36 P3 or R35 P2 or R32 P5, whichever matches your release line, 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.29.0 up to, but not including, 1.29.7; 0.5.13 up to, but not including, 1.28.3 | 1.29.7, 1.28.3 |
| F5 | NGINX Plus | R36 up to, but not including, R36 P3; R35 up to, but not including, R35 P2; R34 and later; R33 and later; R32 up to, but not including, R32 P5 | R36 P3, R35 P2, R32 P5 |
| Red Hat | Red Hat Enterprise Linux 10 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 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 Enterprise Linux 9.0 Update Services for SAP Solutions | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 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 |
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
- LowNo special conditions are needed; the attack works reliably.
- 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
- NoneNo data is disclosed.
- Integrity
- LowLimited modification of data is possible.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H. Scored by CNA (f5.com).
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 8.8 | High | CNA (f5.com) |
| CVSS 3.1 | 8.2 | High | CNA (f5.com) |
| CVSS 3.1 | 8.2 | High | CNA |
Official description
NGINX Open Source and NGINX Plus have a vulnerability in the ngx_http_dav_module module that might allow an attacker to trigger a buffer overflow to the NGINX worker process; this vulnerability may result in termination of the NGINX worker process or modification of source or destination file names outside the document root. This issue affects NGINX Open Source and NGINX Plus when the configuration file uses DAV module MOVE or COPY methods, prefix location (nonregular expression location configuration), and alias directives. The integrity impact is constrained because the NGINX worker process user has low privileges and does not have access to the entire system. 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: Heap-based Buffer Overflow
The product writes past the end of a buffer that was allocated on the heap.
How developers prevent this class of flaw
- Pre-design: Use a language or compiler that performs automatic bounds checking.
- Use an abstraction library to abstract away risky APIs. Not a complete solution.
- 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: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Other references
- access.redhat.com/errata/RHSA-2026:10065
- access.redhat.com/errata/RHSA-2026:13634
- access.redhat.com/errata/RHSA-2026:13680
- access.redhat.com/errata/RHSA-2026:13839
- access.redhat.com/errata/RHSA-2026:14836
- access.redhat.com/errata/RHSA-2026:15942
- access.redhat.com/errata/RHSA-2026:15943
- access.redhat.com/errata/RHSA-2026:15945
- access.redhat.com/errata/RHSA-2026:15966
- access.redhat.com/errata/RHSA-2026:6906
- access.redhat.com/errata/RHSA-2026:6907
- access.redhat.com/errata/RHSA-2026:6923
- access.redhat.com/errata/RHSA-2026:7002
- access.redhat.com/errata/RHSA-2026:7343
- access.redhat.com/errata/RHSA-2026:8346
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 Heap-based Buffer Overflow vulnerabilities
- 7.8 High severity
- 9.9 Critical severity
- 9.8 Critical severity
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
Spotted an error? Tell us.