Skip to content
Fencer Vulns
high 7.4

CVE-2026-40215 json

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 o…

published 2026-06-08 5 mo ago modified 2026-08-11 2 mo ago also EUVD-2026-35200

cvss
7.4
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 31%
public exploits
0
none known

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.

Patch / fix

  • openvpn openvpn 2.6.20, 2.7.2
  • openvpn Debian 12 2.6.14-0+deb12u1
  • openvpn Debian 13 2.6.14-1+deb13u2
  • openvpn Debian 14 2.7.2-1

debian advisories DEBIAN-CVE-2026-40215

  • openvpn Ubuntu 22.04 LTS 2.5.11-0ubuntu0.22.04.3
  • openvpn Ubuntu 24.04 LTS 2.6.19-0ubuntu0.24.04.2
  • openvpn Ubuntu 25.10 2.6.19-0ubuntu0.25.10.2
  • openvpn Ubuntu 26.04 LTS 2.7.0-1ubuntu1.1

ubuntu advisories UBUNTU-CVE-2026-40215

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openvpn SLES for SAP applications 16.0, SLES 16.0 2.6.10-160000.5.1
  • openvpn SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Basesystem 15 SP7 2.6.10-150600.3.26.1
  • openvpn-dco SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Basesystem 15 SP7 2.6.10-150600.3.26.1

suse advisories SUSE-SU-2026:24220-1SUSE-SU-2026:3596-1

  • openvpn openSUSE Leap 16.0 2.6.10-160000.5.1

opensuse advisories openSUSE-SU-2026:22072-1

  • openvpn Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 2.6.20-r0

alpine advisories ALPINE-CVE-2026-40215

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-40215 updated cvss 6.5

openvpn: OpenVPN: Server crash or memory leak due to race condition and use-after-free

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 6.1 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
CNA 4.0 6.1 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
NVD 3.1 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

  • OpenVPN OpenVPN

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.