# CVE-2026-40701: NGINX ngx_http_ssl_module vulnerability

- Vendor: F5, NGINX Plus, NGINX Open Source
- Severity: MEDIUM (CVSS 4.0 6.3)
- Exploited (CISA KEV): not listed
- EPSS: 0.7% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: K000161021, https://my.f5.com/manage/s/article/K000161021
- Published: 2026-05-13; updated: 2026-05-13
- Page: https://patchtonight.com/cve/CVE-2026-40701/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| NGINX Plus R37 | Not affected |
| NGINX Plus R36 | R36 P4 or later |
| NGINX Plus R32 | R32 P6 or later |
| NGINX Open Source 1.31 | Not affected |
| NGINX Open Source 1.19 | 1.30.1 or later |

## The vendor's description

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.

## Sources

- [F5 advisory](https://my.f5.com/manage/s/article/K000161021)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
