# CVE-2026-40215: 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...

CVE-2026-40215 is fixed in 5 products on 1 platform, first by openvpn 2.5.11-0ubuntu0.22.04.3, released April 22, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-40215
- Priority: High
- CVSS: 7.4 (high)
- EPSS: 0.0037
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 22, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | openvpn Debian 12.15 (bookworm) | 2.6.14-0+deb12u1 | [DEBIAN-CVE-2026-40215](https://patchblox.com/security/data/fix/linux/debian-cve-2026-40215.md) | May 15, 2026 |
| Linux | openvpn Debian 13.5 (trixie) | 2.6.14-1+deb13u2 | [DEBIAN-CVE-2026-40215](https://patchblox.com/security/data/fix/linux/debian-cve-2026-40215.md) | May 15, 2026 |
| Linux | openvpn Debian 14 | 2.7.2-1 | [DEBIAN-CVE-2026-40215](https://patchblox.com/security/data/fix/linux/debian-cve-2026-40215.md) | May 15, 2026 |
| Linux | openvpn Ubuntu 22.04.1 LTS (jammy) | 2.5.11-0ubuntu0.22.04.3 | [openvpn 2.5.11-0ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-openvpn-2.5.11-0ubuntu0.22.04.3.md) | Apr 22, 2026 |
| Linux | openvpn Ubuntu 24.04.5 LTS (noble) | 2.6.19-0ubuntu0.24.04.2 | [openvpn 2.6.19-0ubuntu0.24.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-openvpn-2.6.19-0ubuntu0.24.04.2.md) | Apr 22, 2026 |
| Linux | openvpn Ubuntu 25.10 (questing) | 2.6.19-0ubuntu0.25.10.2 | [openvpn 2.6.19-0ubuntu0.25.10.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-openvpn-2.6.19-0ubuntu0.25.10.2.md) | Apr 22, 2026 |
| Linux | openvpn Ubuntu 26.04.1 LTS (resolute) | 2.7.0-1ubuntu1.1 | [openvpn 2.7.0-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-openvpn-2.7.0-1ubuntu1.1.md) | Apr 22, 2026 |
| Linux | openvpn amzn 2023 | 2.6.12-1.amzn2023.0.4 | [ALAS2023-2026-1644](https://patchblox.com/security/data/fix/linux/alas2023-2026-1644.md) | May 11, 2026 |
| Linux | openvpn opensuse-leap 16.0 | 2.6.10-160000.5.1 | [OPENSUSE-SU-2026:22072-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22072-1.md) | Nov 7, 2026 |
| Linux | openvpn sles 15.6 | 2.6.10-150600.3.26.1 | [SUSE-SU-2026:3596-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3596-1.md) | Aug 12, 2026 |
| Linux | openvpn sles 15.7 | 2.6.10-150600.3.26.1 | [SUSE-SU-2026:3596-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3596-1.md) | Aug 12, 2026 |
| Linux | openvpn sles 16.0 | 2.6.10-160000.5.1 | [SUSE-SU-2026:24220-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24220-1.md) | Nov 7, 2026 |
| Linux | openvpn-dco sles 15.6 | 2.6.10-150600.3.26.1 | [SUSE-SU-2026:3596-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3596-1.md) | Aug 12, 2026 |
| Linux | openvpn-dco sles 15.7 | 2.6.10-150600.3.26.1 | [SUSE-SU-2026:3596-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3596-1.md) | Aug 12, 2026 |
| Linux | openvpn-debuginfo amzn 2023 | 2.6.12-1.amzn2023.0.4 | [ALAS2023-2026-1644](https://patchblox.com/security/data/fix/linux/alas2023-2026-1644.md) | May 11, 2026 |
| Linux | openvpn-debugsource amzn 2023 | 2.6.12-1.amzn2023.0.4 | [ALAS2023-2026-1644](https://patchblox.com/security/data/fix/linux/alas2023-2026-1644.md) | May 11, 2026 |
| Linux | openvpn-devel amzn 2023 | 2.6.12-1.amzn2023.0.4 | [ALAS2023-2026-1644](https://patchblox.com/security/data/fix/linux/alas2023-2026-1644.md) | May 11, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
