CVE-2026-40215 Affecting openvpn package, versions <0:2.6.12-1.amzn2023.0.4


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.33% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-OPENVPN-16709980
  • published16 May 2026
  • disclosed8 Jun 2026

Introduced: 16 May 2026

CVE-2026-40215  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 openvpn to version 0:2.6.12-1.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2026-1644.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openvpn package and not the openvpn package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.