Ir al contenido principal

NGINX Rift

An 18-year-old heap overflow in the NGINX rewrite module

F5 fixed a heap buffer overflow in ngx_http_rewrite_module on 2026-05-13 and credits a depthfirst researcher. depthfirst says its analysis system found four remote memory-corruption issues in NGINX on its own, and a researcher reviewed and reported them.

Copy a defensive prompt

VERIFIED EVENT RECORD

Event facts

CVSS
CVSS 4.0 · 9.2 · F5 CVSS 3.1 · 8.1 · F5
Affected
0.6.27 – before 1.30.1
Fixed versions
1.30.1, 1.31.0, NGINX Plus R32 P6, NGINX Plus R36 P4
Disclosed
2026-05-13
Last verified
2026-11-23
CISA KEV
Not listed
Exploitation status
Exploitation reported
Discoverers
depthfirst
AI systems
depthfirst
AI involvement
AI found, human verified

Impact

F5 says the flaw may cause a heap buffer overflow in the worker process leading to a restart, and that code execution is possible when ASLR is disabled or bypassed. Only configurations using a specific rewrite pattern are exposed.

Recommended action

Upgrade NGINX Open Source to 1.30.1 or 1.31.0, or NGINX Plus to R32 P6 or R36 P4. CERT-FR and VulnCheck reported exploitation within days; CISA KEV had not listed it as of the last check.

PRIMARY SOURCES

Sources and verification links

DEFENSIVE PROMPT KIT

Prompts for a coding agent inside your environment

Choose a task and copy the complete prompt into Claude Code, Codex, or a similar tool that can read your own repositories and servers. The current event list is inserted automatically.

Prompt content

Task: determine whether my environment is affected by the events below.

Event data:
- NGINX Rift (NGINX)
  CVEs: CVE-2026-42945, CVE-2026-42946, CVE-2026-40701, CVE-2026-42934
  Fixed versions: 1.30.1, 1.31.0, NGINX Plus R32 P6, NGINX Plus R36 P4
  Source: https://www.cve.org/CVERecord?id=CVE-2026-42945

Inventory repositories, lockfiles, container images, package manifests, service configuration, public entry points, and running versions. Compare affected ranges, required conditions, and fixed versions. For every conclusion, show the evidence, confidence, and information a person still needs to provide.

Rules: Work only on systems the user owns or is authorised to manage. Remain read-only until a person approves. Produce a plan and evidence first. Never change production, restart services, or rotate secrets without explicit approval. Confirm every fact at the vendor advisory and CVE record instead of relying on memory. Record what you checked and what you could not check. Do not scan third-party hosts or run attack simulations.

What this prompt covers

The prompt asks an agent to inventory, verify facts, and prepare a plan. It grants no permission to modify production and does not replace the vendor advisory, CVE record, national CERT, or your change process.

OPERATIONALIZE THE RESPONSE

Turn this response into a continuing workflow

Tenten can connect asset inventory, source monitoring, exposure verification, and human approval to your existing engineering process.

Discuss a Security Watch workflow

Defensive information

This page contains defensive information and is not an official advisory. Versions, patches, and exploitation status can change. Check the vendor advisory, CVE record, and your national CERT before acting.