VulnWatch by ve1ve2
critical 9.2 EPSS 6.52%

[SECURITY RELEASE] nginx/nginx release-1.31.3

Source:
nginx releases (GitHub nginx/nginx)
Published:
Fetched:
Affects:
nginx nginx

https://github.com/nginx/nginx/releases/tag/release-1.31.3 ↗

releaserepo:nginx/nginxsecurity

Security keywords: buffer overflow, vulnerability, CVE-2026-42533, CVE-2026-60005, use-after-free, CVE-2026-56434, security [nginx-1.31.3](https://nginx.org/en/download.html) mainline version has been released, with fixes for [buffer overflow](https://nginx.org/en/security_advisories.html) vulnerability when using map with regex (CVE-2026-42533), [memory disclosure](https://nginx.org/en/security_advisories.html) vulnerability when using ngx_http_slice_module (CVE-2026-60005), and [use-after-free](https://nginx.org/en/security_advisories.html) vulnerability when using ngx_http_ssi_module (CVE-2026-56434). See official [CHANGES](https://nginx.org/en/CHANGES) on nginx.org. Below is a release summary generated by GitHub. ## What's Changed * Configure: set cache line size for loongarch64 by @shankerwangmiao in https://github.com/nginx/nginx/pull/1489 * HTTP/2: fix overlapping memcpy in CONTINUATION frames by @wufengwind in https://github.com/nginx/nginx/pull/1486 * Add missing bounds check in ngx_{http,stream}_compile_complex_value() by @wufengwind in https://github.com/nginx/nginx/pull/1484 * Revert "HTTP/2: fixed overlapping memcpy in CONTINUATION frames" by @ac000 in https://github.com/nginx/nginx/pull/1517 * GH: explicitly set permissions in workflows by @ac000 in https://github.com/nginx/nginx/pull/1451 * Charset: disabled charset_map with utf-8 in the first column by @pluknet in https://github.com/nginx/nginx/pull/1523 * Upstream: Upgrade header processing by @vinaykumar-1591 in https://github.com/nginx/nginx/pull/1476 * Fix setting the IPV6_DONTFRAG socket option by @arut in https://github.com/nginx/nginx/pull/1544 * Xslt: disable loading of external entities by default by @VadimZhestikov in https://github.com/nginx/nginx/pull/1549 * SSL: fixed memory leak in ngx_ssl_get_ech_outer_server_name(). by @devnexen in https://github.com/nginx/nginx/pull/1471 * Fixing HTTP/2 issues by @hongzhidao in https://github.com/nginx/nginx/pull/1441 * Perl fixes by @pluknet in https://github.com/nginx/nginx/pull/1556 * Configure: include crypt.h for crypt() feature tests by @bavshin-f5 in https://github.com/nginx/nginx/pull/1552 * HTTP/2: Reject requests with pseudo-headers after headers by @nitin9977 in https://github.com/nginx/nginx/pull/1541 * Stream and HTTP: rcvbuf and sndbuf directives for upstream sockets by @patrikwl in https://github.com/nginx/nginx/pull/1298 * Tunnel body improvements by @arut in https://github.com/nginx/nginx/pull/1560 * Nginx 1.31.3 security fixes by @arut in https://github.com/nginx/nginx/pull/1561 * nginx-1.31.3-RELEASE by @pluknet in https://github.com/nginx/nginx/pull/1562 ## New Contributors * @shankerwangmiao made their first contribution in https://github.com/nginx/nginx/pull/1489 * @wufengwind made their first contribution in https://github.com/nginx/nginx/pull/1486 * @vinaykumar-1591 made their first contribution in https://github.com/nginx/nginx/pull/1476 * @patrikwl made their first contribution in https://github.com/nginx/nginx/pull/1298 **Full Changelog**: https://github.com/nginx/nginx/compare/release-1.31.2...release-1.31.3

Linked vulnerabilities (3)

CVE-2026-42533 critical 9.2 EPSS 6.52% (p94) NVDCVE.org
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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

CWE: CWE-122Aliases: CVE-2026-56434, CVE-2026-60005NVD: Analyzed
CVE-2026-60005 high 8.8 EPSS 0.74% (p55) NVDCVE.org
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_slice_module module. When the slice directive and unnamed regex captures are configured or when a background cache update happens, unauthenticated attackers can send requests that may cause uninitialized memory access in the NGINX worker process, leading to limited disclosure of memory or a restart. Impact: This vulnerability may allow remote, unauthenticated attackers to have limited control to disclose memory contents or restart the NGINX worker process. There is no control plane exposure; this is a data plane issue...

CWE: CWE-908Aliases: CVE-2026-42533, CVE-2026-56434NVD: Analyzed
CVE-2026-56434 high 8.3 EPSS 0.51% (p44) NVDCVE.org
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_ssi_module module. This vulnerability may exist when the Server-Side Includes (SSI), proxy_pass, and proxy_buffering off directives are configured. With this configuration, an unauthenticated attacker with man-in-the-middle (MITM) ability to control responses from an upstream server may be able to cause a use-after-free in the NGINX worker process. This issue may lead to limited modification of memory or a restart of the NGINX worker process. Impact: This vulnerability may allow remote attackers to have limited control...

CWE: CWE-416Aliases: CVE-2026-42533, CVE-2026-60005NVD: Analyzed

Also reported by (7)