CVE-2026-9256
NGINX ngx_http_rewrite_module vulnerability
- State
- Published
- Severity
- 9.2 Critical
- Published
- May 22, 2026
- Updated
- Aug 25, 2026
- Reserved
- May 21, 2026
Description
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when a rewrite directive uses a regex pattern with distinct, overlapping Perl-Compatible Regular Expression (PCRE) captures (for example, ^/((.*))$) and a replacement string that references multiple such captures (for example, $1$2) in a redirect or arguments context. An unauthenticated attacker along with conditions beyond their control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap 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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.2 Critical | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | f5 |
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | f5 |
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
NGINX PlusF5 |
|
NGINX Open SourceF5 |
|
References
- https://my.f5.com/manage/s/article/K000161377vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/05/22/14
- https://lists.debian.org/debian-lts-announce/2026/06/msg00023.html
- https://access.redhat.com/security/cve/CVE-2026-9256vdb-entry
- RHBZ#2480746issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9256.json
- https://access.redhat.com/errata/RHSA-2026:29874vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28921vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28212vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28973vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29151vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33313vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:20351vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:44481vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:58981vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.