Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-42533

Опубликовано: 15 июл. 2026
Источник: redhat
CVSS3: 7
EPSS Низкий

Описание

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.

A flaw was found in NGINX. An unauthenticated attacker can exploit this vulnerability by sending specially crafted HTTP requests when the map directive uses regular expression (regex) matching and references regex capture variables before referencing the map output variable. This can lead to a heap buffer overflow, which may allow for arbitrary code execution on systems where Address Space Layout Randomization (ASLR) is disabled or bypassed. Additionally, this flaw can cause a denial-of-service (DoS) due to the NGINX worker process restarting.

Отчет

This vulnerability in NGINX allows a remote, unauthenticated attacker to trigger a heap buffer overflow, leading to a denial of service (Dos). This occurs when the map directive uses regex matching and references regex capture variables before the map output variable. While arbitrary code execution is a theoretical risk, it is significantly reduced on Red Hat systems where Address Space Layout Randomization (ASLR) is enabled by default.

Меры по смягчению последствий

To mitigate this vulnerability, do not use unnamed captures. Use named captures instead and only use them in the same block with the regex match. Red Hat recommends updating nginx to the latest version when a fix is available.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Hardened ImagesphpNot affected
Red Hat Lightspeed proxy 1insights-proxy/insights-proxy-container-rhel9Affected
Red Hat Enterprise Linux 10nginxFixedRHSA-2026:6731414.09.2026
Red Hat Enterprise Linux 8nginxFixedRHSA-2026:6731514.09.2026
Red Hat Enterprise Linux 9nginxFixedRHSA-2026:6654211.09.2026
Red Hat Enterprise Linux 9nginxFixedRHSA-2026:6728314.09.2026
Red Hat Enterprise Linux 9nginxFixedRHSA-2026:6730814.09.2026
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsnginxFixedRHSA-2026:9347202.11.2026
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsnginxFixedRHSA-2026:9346802.11.2026
Red Hat Enterprise Linux 9.6 Extended Update SupportnginxFixedRHSA-2026:9346702.11.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-131
https://bugzilla.redhat.com/show_bug.cgi?id=2500967nginx: NGINX: Arbitrary code execution via crafted HTTP requests

EPSS

Процентиль: 94%
0.06296
Низкий

7 High

CVSS3

Связанные уязвимости

CVSS3: 8.1
ubuntu
4 месяца назад

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 Su...

CVSS3: 8.1
nvd
4 месяца назад

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 Technica

CVSS3: 8.1
msrc
4 месяца назад

NGINX Map directive and Regex matching vulnerability

CVSS3: 8.1
debian
4 месяца назад

A vulnerability exists in NGINX Plus and NGINX Open Source when a mapd ...

suse-cvrf
3 месяца назад

Security update for nginx

EPSS

Процентиль: 94%
0.06296
Низкий

7 High

CVSS3