cve.bz

CVE-2026-40701 f5: Use After Free

6.3 mediumEPSS 0.7%Fix available

Medium (6.3) in f5. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.3 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40701 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40701?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40701?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40701 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-40701

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-40701](https://cve.bz/cve/badge/CVE-2026-40701.svg)](https://cve.bz/cve/CVE-2026-40701)

HTML:

<a href="https://cve.bz/cve/CVE-2026-40701"><img src="https://cve.bz/cve/badge/CVE-2026-40701.svg" alt="CVE-2026-40701"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
F5 NGINX Plusfrom R36 before R36 P4
F5 NGINX Plusfrom R32 before R32 P6
F5 NGINX Open Sourcefrom 1.19.0 before 1.30.1

Fixed in

ProductFixed in
F5 NGINX PlusR37
F5 NGINX Open Source1.31.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12nginx1.22.1-9+deb12u7DEBIAN-CVE-2026-40701
Debian13nginx1.26.3-3+deb13u5DEBIAN-CVE-2026-40701
Debian14nginx1.30.0-4DEBIAN-CVE-2026-40701
Ubuntu22.04:LTSnginx1.18.0-6ubuntu14.12UBUNTU-CVE-2026-40701
Ubuntu24.04:LTSnginx1.24.0-2ubuntu7.9UBUNTU-CVE-2026-40701
Ubuntu25.10nginx1.28.0-6ubuntu1.4UBUNTU-CVE-2026-40701
Ubuntu26.04:LTSnginx1.28.3-2ubuntu1.2UBUNTU-CVE-2026-40701
UbuntuPro:14.04:LTSnginx1.4.6-1ubuntu3.9+esm6UBUNTU-CVE-2026-40701
UbuntuPro:16.04:LTSnginx1.10.3-0ubuntu0.16.04.5+esm7UBUNTU-CVE-2026-40701
UbuntuPro:18.04:LTSnginx1.14.0-0ubuntu1.11+esm2UBUNTU-CVE-2026-40701
UbuntuPro:20.04:LTSnginx1.18.0-0ubuntu1.7+esm1UBUNTU-CVE-2026-40701
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morenginx1.21.5-150400.3.20.1SUSE-SU-2026:2370-1
openSUSETumbleweednginx1.31.0-1.1openSUSE-SU-2026:10796-1
Alpinev3.21nginx1.26.3-r1ALPINE-CVE-2026-40701
Alpinev3.22, v3.23nginx1.28.3-r1ALPINE-CVE-2026-40701
Azure Linux3nginx1.28.3-4AZL-86850
Alpaquita23nginx1.22.1-r5BELL-CVE-2026-40701
Alpaquita25nginx1.28.3-r2BELL-CVE-2026-40701

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

To exploit this flaw, the ssl_verify_client directive must be set to "on" or "optional" and the ssl_ocsp directive must be enabled or its leaf parameters configured with a resolver, limiting its exposure as this is not the default configuration. This issue allows an attacker to have limited control to modify memory data from the worker process or cause a denial of service by forcing the process to restart, but it cannot cause a complete system denial of service. Due to these reasons, this flaw has been rated with a moderate severity.

Red Hat's mitigation

To mitigate this issue, specifically set the OCSP responder using the ssl_ocsp_responder directive or switch from live OCSP validation to static CRL files using the ssl_crl directive. If neither configuration is possible, using a local DNS server to cache and quickly resolve OCSP responder names can reduce the probability of exploitation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nginxFix deferred
Red Hat Enterprise Linux 8nginx:1.24/nginxFix deferred
Red Hat Enterprise Linux 9nginxFix deferred
Red Hat Enterprise Linux 9nginx:1.24/nginxOut of support scope
Red Hat Enterprise Linux 9nginx:1.26/nginxFix deferred
Red Hat Hardened ImagesnginxNot affected
Red Hat Lightspeed proxy 1insights-proxy/insights-proxy-container-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40701.

References

Check your stackJSON