Nginx < 1.30.7 Multiple Vulnerabilities

critical Web App Scanning Plugin ID 115825

Synopsis

Nginx < 1.30.7 Multiple Vulnerabilities

Description

According to its banner, the version of Nginx running on the remote host is prior to 1.30.7 or 1.31.x prior to 1.31.9. It is, therefore, affected by multiple vulnerabilities:

- A use-after-free vulnerability exists in the NGINX resolver when NGINX is configured as a proxy, the proxied server name includes variables, and a Server Side Includes (SSI) or mirror directive sends a subrequest to a location that resolves the same server name. A remote attacker can exploit this, via a specially crafted HTTP request, to cause a restart of the NGINX worker process, memory corruption, or potential code execution on systems with ASLR disabled. (CVE-2026-123634)

- A heap-based buffer overflow vulnerability exists in the ngx_http_v2_module module when HTTP/2 is used, as the flow control window can exceed the allowed threshold. A remote attacker can exploit this to cause a restart of the NGINX worker process or potential code execution on systems with ASLR disabled. (CVE-2026-123007)

- A use-after-free vulnerability exists in the ngx_http_v3_module module when HTTP/3 is used and the worker process is running low on worker_connections. A remote unauthenticated attacker can exploit this to cause a restart of the NGINX worker process or potential code execution on systems with ASLR disabled. (CVE-2026-121810)

- A use-after-free vulnerability exists in the ngx_http_v2_module module when HTTP/2 is used for client connections, client requests are proxied to a backend, and the worker process is running low on worker_connections. A remote attacker can exploit this, via a specially crafted request, to cause a restart of the NGINX worker process or potential code execution on systems with ASLR disabled. (CVE-2026-123633)

- An infinite loop vulnerability exists in the ngx_http_core_module module when the listen directive is used with the ssl parameter and TLSv1.3 is enabled. A remote unauthenticated attacker can exploit this, via a specially crafted TLS connection, to cause the NGINX worker process to stop accepting new connections and processing existing ones, resulting in a denial of service. (CVE-2026-118899)

- A use-after-free vulnerability exists in the ngx_mail_proxy_module module when NGINX is configured as a mail proxy server. A remote attacker can exploit this, via a specially crafted mail session, to cause a restart of the NGINX worker process, memory corruption, or potential code execution on systems with ASLR disabled. (CVE-2026-113425)

- A NULL pointer dereference vulnerability exists in the ngx_stream_ssl_module module when dynamic certificate loading is used together with the proxy_protocol v2 directive of the ngx_stream_proxy_module module. A remote attacker can exploit this, via an abbreviated SSL handshake, to cause a restart of the NGINX worker process. This issue only affects versions 1.31.4 through 1.31.8. (CVE-2026-120993)

- A buffer overflow vulnerability exists when the try_files and alias directives are used with a map variable, as certain combinations of regular expression captures in map and try_files can cause a segmentation fault. A remote attacker can exploit this to cause a restart of the NGINX worker process. (CVE-2026-125283)

- A vulnerability exists in the ngx_stream_ssl_module module when client certificates are required using the ssl_verify_client on directive in a non-default stream virtual server. A remote attacker can exploit this to bypass verification of client certificates. (CVE-2026-120967)

- An insufficient validation vulnerability exists in the ngx_stream_ssl_preread_module module. A remote unauthenticated attacker can exploit this, via a specially crafted ClientHello message, to forge the values of the ngx_stream_ssl_preread_module variables and bypass stream routing restrictions, potentially reaching privileged or internal backends. (CVE-2026-123640)

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to nginx version 1.30.7 or later.

See Also

https://my.f5.com/manage/s/article/K000163925

https://my.f5.com/manage/s/article/K000163926

https://my.f5.com/manage/s/article/K000163927

https://my.f5.com/manage/s/article/K000163928

https://my.f5.com/manage/s/article/K000163930

https://my.f5.com/manage/s/article/K000163931

https://my.f5.com/manage/s/article/K000163932

https://my.f5.com/manage/s/article/K000163933

https://my.f5.com/manage/s/article/K000163934

https://my.f5.com/manage/s/article/K000163935

https://my.f5.com/manage/s/article/K000164058

https://nginx.org/en/CHANGES

https://nginx.org/en/CHANGES-1.30

Plugin Details

Severity: Critical

ID: 115825

Type: Version Based

Published: 11/19/2026

Updated: 11/19/2026

Scan Template: api, basic, full, pci, quick, scan

Risk Information

VPR

Risk Factor: High

Score: 7.9

Percentile: 99.33

CVSS v2

Risk Factor: High

Base Score: 7.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: Tenable

CVSS v3

Risk Factor: High

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS Score Source: CVE-2026-113425

CVSS v4

Risk Factor: Critical

Base Score: 9.2

Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-113425

Vulnerability Information

CPE: cpe:2.3:a:nginx:nginx:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 11/17/2026

Reference Information

CVE: CVE-2026-113425, CVE-2026-118899, CVE-2026-120967, CVE-2026-120993, CVE-2026-121810, CVE-2026-123007, CVE-2026-123633, CVE-2026-123634, CVE-2026-123640, CVE-2026-125283