CVE-2026-40215: openvpn Out-of-bounds Read
CVSS: 7.4v3.1HighAnalyzed
AliasesALPINE-CVE-2026-40215UBUNTU-CVE-2026-40215DEBIAN-CVE-2026-40215
Published 08-06-2026Last modified 16-06-2026
Vulnerability summary
CVE-2026-40215 is a high (CVSS 7.4) Out-of-bounds Read vulnerability in openvpn. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 47.2% of scored vulnerabilities.
CVSS score
7.4/10
010
High · v3.1 (NVD)EPSS score
0.59%
0%100%
Low · +0.22 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 08-06-2026PublishedVulnerability first disclosed.
- 16-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 2 versionsMedium 6.1Preferred score · CVE.org (CNA)
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:L/SI:N/SA:LSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:L/SI:N/SA:L
- NVDNIST6.1MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:L/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
High 7.4Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:HSourcesAll 4 agree
- OSV · AlpineEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
+0.22 pp
From 0.37% on 20-09-2026
20-09-202620-10-2026
EPSS score0.59%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected systems
Alpine1 product
- openvpn≥ 2.6.0, < 2.6.20-r0
Debian1 product
- openvpn< 2.6.14-0+deb12u1 | < 2.6.14-1+deb13u2 | < 2.7.2-1
Openvpn1 product
- openvpn≥ 2.6.0, ≤ 2.6.19 | ≥ 2.7_alpha1, ≤ 2.7.1 | ≥ 2.6.0, < 2.6.20 | ≥ 2.7, < 2.7.2
Ubuntu1 product
- openvpnAll versions (No fix recorded) | < 2.5.11-0ubuntu0.22.04.3 | < 2.6.19-0ubuntu0.24.04.2 | < 2.6.19-0ubuntu0.25.10.2 | < 2.7.0-1ubuntu1.1
4 vendors · 4 products
References
8 links- community.openvpn.net/ReleaseHistoryRelease Notes
- community.openvpn.net/ReleaseHistoryRelease Notes