CVE-2026-40215
High
Description
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.
SeverityHigh
CVSS7.4
Exploit probability—
ProductOpenvpn
PublishedJun 8, 2026
First seenJun 8, 2026
Weakness typeCWE-125Out-of-bounds readCWE-416Use after free
How to fix
Update
- openvpn openvpn2.6.20, 2.7.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openvpn openvpn | 2.6.0 ≤ v < 2.6.20, 2.7 ≤ v < 2.7.2 | 2.6.20, 2.7.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.