Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-40215
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 00:16 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-40215
Complete source record
{
"id": "4c2b1abc3456f5a7a937ce63f85ae63c73d936bc373d980076a8a88293fdc1cc",
"url": "https://osv.dev/vulnerability/CVE-2026-40215",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-40215",
"summary": "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.",
"evidence": "osv:CVE-2026-40215",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-40215",
"aliases": [
"CVE-2026-40215"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:L/SI:N/SA:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openvpn/openvpn",
"type": "GIT",
"events": [
{
"introduced": "b999466418dddb89721be5455f03bacd9b221b1d"
},
{
"fixed": "8e87f2c34a0fbd64e282711582b106f84660e916"
},
{
"introduced": "ee1577744fb09af760dc319d57746e6abc55db85"
},
{
"fixed": "59748789497afcad90601d120fecd58cbc1423c4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:openvpn:openvpn:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.6.0"
},
{
"fixed": "2.6.20"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:openvpn:openvpn:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7"
},
{
"fixed": "2.7.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.7.1",
"v2.6.19",
"v2.7.0",
"v2.6.18",
"v2.6.17",
"v2.6.16",
"v2.6.15",
"v2.6.14",
"v2.6.13",
"v2.6.12",
"v2.6.11",
"v2.6.10",
"v2.6.9",
"v2.6.8",
"v2.6.7",
"v2.6.6",
"v2.6.5",
"v2.6.4",
"v2.6.3",
"v2.6.2",
"v2.6.1",
"v2.6.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40215.json"
}
}
],
"modified": "2026-10-28T02:30:45.268587675Z",
"provider": "osv",
"references": [
"https://community.openvpn.net/ReleaseHistory#openvpn-2620-released-22-april-2026",
"https://community.openvpn.net/ReleaseHistory#openvpn-272-released-22-april-2026",
"https://community.openvpn.net/Security%20Announcements/CVE-2026-40215",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40215.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-40215"
],
"provider_metadata": {
"cwe_ids": [
"CWE-125",
"CWE-416"
],
"cna_assigner": "OpenVPN",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "2.6.0"
},
{
"last_affected": "2.6.19"
},
{
"introduced": "2.7_alpha1"
},
{
"last_affected": "2.7.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40215.json"
}
},
"related_cves": [
{
"value": "CVE-2026-40215",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 513403,
"published_at": "2026-06-08T19:59:20.481+00:00"
}