Summary
CVE-2026-15176 is a heap-based buffer overflow (CWE-122) in the ngx_http_core_module of NGINX Open Source and NGINX Plus. It is rated High (CVSS v3.1 8.1). A remote, unauthenticated attacker can send crafted HTTP requests that may crash NGINX worker processes. On systems without ASLR protection, the flaw may allow code execution.
Technical details
- Root cause: heap buffer overflow in NGINX’s core HTTP module.
- Trigger conditions: a location that uses the
aliasdirective together withrewrite, and asetorreturndirective that references the$request_filenamevariable. Exploitation also depends on conditions outside the attacker’s control (high attack complexity). - Attack vector: network, using crafted HTTP requests. No privileges or user interaction are required.
- Impact: worker process crashes and restarts (denial of service). Code execution is possible on systems without ASLR protection.
- The issue affects the data plane only.
Affected software
- NGINX Open Source: 0.1.29 through 1.30.5, and 1.31.0 through 1.31.6
- NGINX Plus: R33, R34, R35 and R36 (all versions); 37.0.0 before 37.0.5.1; 37.1.0 before 37.1.0.1
Severity
- CVSS v3.1 base score: 8.1 (High)
- Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - The CVE record also lists a CVSS v4.0 score of 9.2.
Mitigation and recommended actions
- Immediate: upgrade NGINX Open Source to 1.31.7 or 1.30.6. Upgrade NGINX Plus to 37.1.0.1 or 37.0.5.1.
- Workaround if you can’t patch right away: avoid
aliasdirectives in location blocks and avoid using the$request_filenamevariable. - Review configurations for
aliascombined withrewriteand$request_filenameinsetorreturn. Prioritize internet-facing instances. - Keep ASLR enabled on hosts running NGINX.

