CVEfocus › CVE database › CVE-2026-40215

CVE-2026-40215

CVSS 6.1 MediumEPSS 0.6% (higher than 42% of CVEs)Published 2026-06-08Updated 2026-06-16Assigner: OpenVPN

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.

CWE-125CWE-416

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
4Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04openvpnFixed2.7.0-1ubuntu1.1UBUNTU-CVE-2026-40215
Ubuntu 25.10openvpnFixed2.6.19-0ubuntu0.25.10.2UBUNTU-CVE-2026-40215
Ubuntu 24.04openvpnFixed2.6.19-0ubuntu0.24.04.2UBUNTU-CVE-2026-40215
Ubuntu 22.04openvpnFixed2.5.11-0ubuntu0.22.04.3UBUNTU-CVE-2026-40215
Ubuntu 20.04openvpnFix pendingUBUNTU-CVE-2026-40215
Ubuntu 18.04openvpnFix pendingUBUNTU-CVE-2026-40215
Ubuntu 16.04openvpnFix pendingUBUNTU-CVE-2026-40215
Ubuntu 14.04openvpnFix pendingUBUNTU-CVE-2026-40215
Debian 14openvpnFixed2.7.2-1DEBIAN-CVE-2026-40215
Debian 13openvpnFixed2.6.14-1+deb13u2DEBIAN-CVE-2026-40215
Debian 12openvpnFixed2.6.14-0+deb12u1DEBIAN-CVE-2026-40215
Alpine Linux 3.24openvpnFixed2.6.20-r0ALPINE-CVE-2026-40215
Alpine Linux 3.23openvpnFixed2.6.20-r0ALPINE-CVE-2026-40215
Alpine Linux 3.22openvpnFixed2.6.20-r0ALPINE-CVE-2026-40215
Alpine Linux 3.21openvpnFixed2.6.20-r0ALPINE-CVE-2026-40215
Alpine Linux 3.20openvpnFixed2.6.20-r0ALPINE-CVE-2026-40215

What the vendor says

As published in the CVE record by OpenVPN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.