Hexret
CVE-2026-42945high 8.1PoC available

NGINX Rift: rewrite capture sizing heap overflow

The rewrite engine can size a captured replacement with cleared argument-escaping state, then copy it with escaping enabled and overrun the allocation.

Product
NGINX Open Source and NGINX Plus ngx_http_rewrite_module
Vendor
F5 NGINX
Affected
NGINX Open Source 0.6.27 through 1.30.0 and affected NGINX Plus releases
Fixed in
NGINX Open Source 1.30.1 and 1.31.0; corresponding NGINX Plus updates
Weakness
CWE-122
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
13 May 2026

Practice this CVE, free

Classified as

References

Related CVEs