CVE-2026-40215: A race condition in OpenVPN 2.6.0 through 2.6.19 and 2.7_alpha1 through 2.7.1 allows remote attackers to poten
CVE-2026-40215 is a high-severity flaw (CVSS 7.4) affecting openvpn. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A race condition in OpenVPN 2.6.0 through 2.6.19 and 2.7_alpha1 through 2.7.1 allows remote attackers to potentially cause a server crash or leak heap memory via a use-after-free triggered during TLS session promotion.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-08-11 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40215?
openvpn: upgrade to 2.6.20, 2.7.2. Exact commands for each OS are on this page.
Is CVE-2026-40215 being exploited?
CVE-2026-40215 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40215 affect?
CVE-2026-40215 affects openvpn. Severity is high (CVSS 7.4). A race condition in OpenVPN 2.6.0 through 2.6.19 and 2.7_alpha1 through 2.7.1 allows remote attackers to potentially cause a server crash or leak heap memory via a use-after-free triggered during TLS session promotion.
How urgent is CVE-2026-40215?
Priority 39/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-35058 MEDIUM 6.5 UPGRADE Improper validation of packet length during tls-crypt-v2 key extraction in OpenVPN 2.6.0 through 2.6.19 and 2.
- CVE-2026-11771 HIGH 7.5 UPGRADE OpenVPN version 2.1.0 through 2.6.20 and 2.7_alpha1 through 2.7.4 allows attackers via an off-by-one buffer wr
- CVE-2026-12932 HIGH 8.1 UPGRADE A memory leak in the tls-crypt-v2 client key extraction in OpenVPN 2.5.0 through 2.6.20 and 2.7_alpha1 through
- CVE-2026-12996 HIGH 8.1 UPGRADE MITIGATE A use-after-free in OpenVPN 2.6.0 through 2.6.20 and 2.7_alpha1 through 2.7.4 allows remote authenticated peer
- CVE-2026-13117 HIGH 8.1 UPGRADE An incomplete guard in OpenVPN 2.6.0 through 2.6.20 and 2.7_alpha1 through 2.7.4 allows remote authenticated p