All reports
Medium

nginx: nginx: Denial of Service via regular expression captures in try_files and alias directives

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-125283

Probability of exploitation in the next 30 days: 0.45%

FIRST EPSS · 2026-11-20

Description

When NGINX Plus or NGINX Open Source is configured to use the try_files and alias directives with a map variable, certain combinations of regular expression captures in map and try_files can cause a segmentation fault in an NGINX worker process. Impact: An attacker could leverage this vulnerability to cause an NGINX worker process to terminate unexpectedly. 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. A remote attacker can exploit this issue to cause a Denial of Service (DoS) by crashing an NGINX worker process. When the server is configured to use the try_files and alias directives alongside map variables, specific combinations of regular expression captures can trigger a segmentation fault, causing the worker process to terminate unexpectedly.