Use-after-free in NGINX Open Source and NGINX Plus - CVE-2026-40701

 

Use-after-free in NGINX Open Source and NGINX Plus - CVE-2026-40701

Published: May 14, 2026


Vulnerability identifier: #VU131379
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-40701
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: F5 Networks
Affected software:
NGINX Open Source
NGINX Plus

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service or modify data in a limited manner.

The vulnerability exists due to use-after-free in ngx_http_ssl_module when handling requests with client certificate verification and OCSP checking enabled. A remote attacker can send requests that trigger the flaw to cause a denial of service or modify data in a limited manner.

This issue affects the data plane only. Exploitation requires the ssl_verify_client directive to be set to "on" or "optional," and the ssl_ocsp directive to be set to "on" or configured with the leaf parameter and a resolver.


How to mitigate CVE-2026-40701

Install security update from vendor's website.

Sources