{"schemaVersion":3,"id":"CVE-2026-40215","aliases":["ALPINE-CVE-2026-40215","UBUNTU-CVE-2026-40215","DEBIAN-CVE-2026-40215"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-06-08T19:59:20.481Z","modified":"2026-06-16T12:24:37.681Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.1,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":5.6,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":5.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":5.6,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.1,"severity":"medium","vector":"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/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00591,"percentile":0.47501,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.219,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00372},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00591,"percentile":0.47501}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00591,"percentile":0.47501}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-416","name":"Use After Free","description":"The 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.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"alpine","product":"openvpn","name":"openvpn","label":"openvpn","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/openvpn","purlType":"apk","versions":[{"text":"≥ 2.6.0, < 2.6.20-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.6.0, < 2.6.20-r0","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"openvpn","label":"OpenVPN","category":"app"}},"hubHref":null},{"vendor":"debian","product":"openvpn","name":"openvpn","label":"openvpn","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/openvpn","purlType":"deb","versions":[{"text":"< 2.6.14-0+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.6.14-1+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.7.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.14-0+deb12u1 | < 2.6.14-1+deb13u2 | < 2.7.2-1","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"openvpn","label":"OpenVPN","category":"app"}},"hubHref":null},{"vendor":"ubuntu","product":"openvpn","name":"openvpn","label":"openvpn","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/openvpn","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.5.11-0ubuntu0.22.04.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.6.19-0ubuntu0.24.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.6.19-0ubuntu0.25.10.2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.7.0-1ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All 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","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"openvpn","label":"OpenVPN","category":"app"}},"hubHref":null},{"vendor":"openvpn","product":"openvpn","name":"OpenVPN","label":"openvpn","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.6.0, ≤ 2.6.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.7_alpha1, ≤ 2.7.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.6.0, < 2.6.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.7, < 2.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.6.0, ≤ 2.6.19 | ≥ 2.7_alpha1, ≤ 2.7.1 | ≥ 2.6.0, < 2.6.20 | ≥ 2.7, < 2.7.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"openvpn","label":"OpenVPN","category":"app"}},"hubHref":"/vendor/openvpn/openvpn"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://community.openvpn.net/Security%20Announcements/CVE-2026-40215","label":"community.openvpn.net/Security%20Announcements/CVE-2026-40215","hostname":"community.openvpn.net","tags":["Vendor Advisory","REPORT"]},{"url":"https://community.openvpn.net/ReleaseHistory#openvpn-272-released-22-april-2026","label":"community.openvpn.net/ReleaseHistory","hostname":"community.openvpn.net","tags":["Release Notes"]},{"url":"https://community.openvpn.net/ReleaseHistory#openvpn-2620-released-22-april-2026","label":"community.openvpn.net/ReleaseHistory","hostname":"community.openvpn.net","tags":["Release Notes"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-40215","label":"security.alpinelinux.org/vuln/CVE-2026-40215","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-40215","label":"ubuntu.com/security/CVE-2026-40215","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40215","label":"www.cve.org/CVERecord?id=CVE-2026-40215","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8286-1","label":"ubuntu.com/security/notices/USN-8286-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40215","label":"security-tracker.debian.org/tracker/CVE-2026-40215","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0126","OPENSUSE-SU-2026:22072-1","SUSE-SU-2026:3596-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:22072-1","SUSE-SU-2026:3596-1","USN-8286-1"]},"timeline":[{"kind":"published","date":"2026-06-08T19:59:20.481Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-16T12:24:37.681Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:31:27.615Z","stale":false,"partial":false}}