CVE-2026-9256
High · CVSS 8.1NGINX Plus / NGINX Open Source — Heap buffer overflow via PCRE regex capture groups in rewrite module (RCE)
- CVSS
- 8.1
- nvd
- EPSS
- 10.1%
- 95th pct
- KEV
- No
- Class
- oss containerizable
- CWE-122, CWE-122
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.
Search profile — drives PoC discovery
Ranked PoCs (5) — best first
Heuristic ranking — not yet expert-vetted. Scored on structure + provenance, not execution.
- ★ 0
- ★ 2
- ★ 1recent activitygh_search · Python
- ★ 0
- ★ 33
Recall-favoring discovery; ranking by the Stage-4 scorer (Adam's rubric). Scanner/aggregator repos are hidden.
Affected packages
| Bitnami | nginx | 0.1.17 → 1.24.0 |
| Bitnami | nginx | 1.30.0 → 1.30.2 |
| Bitnami | nginx | 1.31.0 → 1.31.1 |
| Bitnami | nginx-gateway | 0.1.17 → 2.2.1 |
References
- https://my.f5.com/manage/s/article/K000161377
- 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/errata/RHSA-2026:20351
- https://access.redhat.com/errata/RHSA-2026:28212
- https://access.redhat.com/errata/RHSA-2026:28921
- https://access.redhat.com/errata/RHSA-2026:28973
- https://access.redhat.com/errata/RHSA-2026:29151
- https://access.redhat.com/errata/RHSA-2026:29874
- https://access.redhat.com/errata/RHSA-2026:33313
- https://access.redhat.com/errata/RHSA-2026:44481
- https://access.redhat.com/security/cve/CVE-2026-9256
Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-07-02T00:30:43.000Z