NGINX Heap UAF via ssl_verify_client/ssl_ocsp in ngx_http_ssl_module
CVE-2026-40701 Published on May 13, 2026
NGINX ngx_http_ssl_module vulnerability
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_ssl_module module when the ssl_verify_client directive is set to "on" or "optional," and the ssl_ocsp directive is set to "on" or the leaf parameters are configured with a resolver. With this configuration, an unauthenticated attacker can send requests along with conditions beyond its control that may cause a heap-use-after-free error in the NGINX worker process. This vulnerability may result in limited modification of data or the NGINX worker process restarting.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Vulnerability Analysis
CVE-2026-40701 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity, and a small impact on availability.
Weakness Type
What is a Dangling pointer Vulnerability?
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CVE-2026-40701 has been classified to as a Dangling pointer vulnerability or weakness.
Products Associated with CVE-2026-40701
stack.watch emails you whenever new vulnerabilities are published in F5 Networks Nginx Plus or F5 Networks Nginx Open Source. Just hit a watch button to start following.
Affected Versions
F5 NGINX Plus:- Version R37 and below * is unaffected.
- Version R36 and below R36 P4 is affected.
- Version R32 and below R32 P6 is affected.
- Version 1.31.0 and below * is unaffected.
- Version 1.19.0 and below 1.30.1 is affected.