Bug 2500967 (CVE-2026-42533) - CVE-2026-42533 nginx: NGINX: Arbitrary code execution via crafted HTTP requests
Summary: CVE-2026-42533 nginx: NGINX: Arbitrary code execution via crafted HTTP requests
Keywords:
Status: NEW
Alias: CVE-2026-42533
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-15 15:02 UTC by OSIDB Bzimport
Modified: 2026-07-30 09:07 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-15 15:02:15 UTC
A vulnerability exists in NGINX Plus and NGINX Open Source when a map directive uses regex matching and a string expression references the map's regex capture variables before referencing the map output variable. Alternatively, the same result could be achieved by using a non-cacheable variable in a string expression under certain conditions. 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.

Impact:
This vulnerability may allow remote attackers to cause a denial-of-service (DoS) on the NGINX system or to possibly trigger a code execution. There is no control plane exposure; this is a data plane issue only.




 Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Comment 4 Akiyoshi Kurita 2026-07-20 09:27:42 UTC
Additional information:

According to The Hacker News, the researcher plans to publish a PoC 21 days after the patch release, around August 5, 2026.

https://thehackernews.com/2026/07/critical-nginx-vulnerability-can-crash.html

Comment 5 Klaas Weyermann 2026-07-20 14:08:44 UTC
https://access.redhat.com/security/cve/cve-2026-42533

It seems you rated this as "Moderate", because you changed the Confidentiality and Integrity Impact to "Low" from "High" -- for a RCE, is that correct?

Comment 6 Akiyoshi Kurita 2026-07-27 14:04:28 UTC
Additional information:

A public PoC/exploit was released on July 27, 2026, earlier than the previously announced August 5 date.

The repository demonstrates an unauthenticated nginx worker crash and claims a working pre-auth RCE chain on Ubuntu 24.04.

https://github.com/imbas007/cve-2026-42533

Comment 7 Akiyoshi Kurita 2026-07-29 11:37:20 UTC
Additional information:

A separate exploit implementation for CVE-2026-42533 has now been published by DepthFirst Disclosures.

Unlike the previously referenced HTTP/map-based repository, this PoC uses the stream ssl_preread script-engine path. It demonstrates command execution and a reverse shell in the supplied local Docker environment.

The exploit offsets are explicitly calibrated for the provided Docker image, so this should not be interpreted as a generally reliable exploit against arbitrary nginx deployments.

https://github.com/DepthFirstDisclosures/Nginx-Rift/tree/main/CVE-2026-42533


Note You need to log in before you can comment on or make changes to this bug.