VulnarioBlogOpenVPN vulnerabilities

OpenVPN Vulnerabilities: The 10 Most Critical OpenVPN Security Bugs (CVEs)

OpenVPN vulnerabilities are security flaws in OpenVPN that attackers can abuse to steal data, take over a server or interrupt a service. OpenVPN is a widely used open-source VPN. The National Vulnerability Database (NVD) lists 49 CVEs for OpenVPN, 8 of them rated critical, and 12 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.

This guide lists the 10 most critical OpenVPN security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers OpenVPN security basics, the current end-of-life dates and a free way to be told about the next OpenVPN CVE as soon as it is published.

Key takeaways

  • No OpenVPN CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
  • 8 OpenVPN CVEs are rated critical (CVSS v3), and 12 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-13379, published Jul 30, 2026.
  • Supported OpenVPN releases today (per endoflife.date): 2.7, 2.6. Releases not on the list are past their announced end of life.
  • You can monitor OpenVPN for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these OpenVPN CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical OpenVPN CVEs at a glance

Most critical OpenVPN vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2024-279039.8 Critical2024-07-08Unrestricted file uploadNo
2CVE-2023-468509.8 Critical2023-11-11Use after freeNo
3CVE-2022-05479.8 Critical2022-03-18Improper authenticationNo
4CVE-2017-121669.8 Critical2017-10-04Out-of-bounds writeNo
5CVE-2026-133799.1 Critical2026-07-30Out-of-bounds readNo
6CVE-2025-121069.1 Critical2025-12-01Critical security flawNo
7CVE-2024-55949.1 Critical2025-01-06Critical security flawNo
8CVE-2018-75449.1 Critical2018-03-16Denial of serviceNo
9CVE-2024-48778.8 High2025-04-03Security flawNo
10CVE-2026-129328.1 High2026-07-30Denial of serviceNo

Each OpenVPN CVE explained

1. CVE-2024-27903: Unrestricted file upload

  • CVSS 9.8 Critical
  • Published 2024-07-08
  • CWE-283
What NVD says
OpenVPN plug-ins on Windows with OpenVPN 2.6.9 and earlier could be loaded from any directory, which allows an attacker to load an arbitrary plug-in which can be used to interact with the privileged OpenVPN interactive service.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.5.10; 2.6.0 to before 2.6.10
What to do
Upgrade to the fixed release for your branch (2.5.10, 2.6.10) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2024-27903 (opens in a new tab)

2. CVE-2023-46850: Use after free

  • CVSS 9.8 Critical
  • Published 2023-11-11
  • CWE-416
What NVD says
Use after free in OpenVPN version 2.6.0 to 2.6.6 may lead to undefined behavoir, leaking memory buffers or remote execution when sending network buffers to a remote peer.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.6.0 through 2.6.6
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2023-46850 (opens in a new tab)

3. CVE-2022-0547: Improper authentication

  • CVSS 9.8 Critical
  • Published 2022-03-18
  • CWE-305
What NVD says
OpenVPN 2.1 until v2.4.12 and v2.5.6 may enable authentication bypass in external authentication plug-ins when more than one of them makes use of deferred authentication replies, which allows an external user to be granted access with only partially correct credentials.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.1.0 to before 2.4.12; 2.5.0 to before 2.5.6
What to do
Upgrade to the fixed release for your branch (2.4.12, 2.5.6) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2022-0547 (opens in a new tab)

4. CVE-2017-12166: Out-of-bounds write

  • CVSS 9.8 Critical
  • Published 2017-10-04
  • CWE-787
What NVD says
OpenVPN versions before 2.3.3 and 2.4.x before 2.4.4 are vulnerable to a buffer overflow vulnerability when key-method 1 is used, possibly resulting in code execution.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.3.18; 2.4.0 to before 2.4.4
What to do
Upgrade to the fixed release for your branch (2.3.18, 2.4.4) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2017-12166 (opens in a new tab)

5. CVE-2026-13379: Out-of-bounds read

  • CVSS 9.1 Critical
  • Published 2026-07-30
  • CWE-125
What NVD says
The Windows interactive service in OpenVPN 2.7_alpha1 through 2.7.4 allows remote attackers to cause persistent DNS state pollution or a service crash via a crafted search domain during the disconnection process
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and availability.
Affected versions
2.7 to before 2.7.5
What to do
Upgrade to 2.7.5 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-13379 (opens in a new tab)

6. CVE-2025-12106: Critical security flaw

  • CVSS 9.1 Critical
  • Published 2025-12-01
  • CWE-126
What NVD says
Insufficient argument validation in OpenVPN 2.7_alpha1 through 2.7_rc1 allows an attacker to trigger a heap buffer over-read when parsing IP addresses
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and availability.
Affected versions
2.6.13; 2.7
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2025-12106 (opens in a new tab)

7. CVE-2024-5594: Critical security flaw

  • CVSS 9.1 Critical
  • Published 2025-01-06
  • CWE-1287
What NVD says
OpenVPN before 2.6.11 does not santize PUSH_REPLY messages properly which an attacker controlling the server can use to inject unexpected arbitrary data ending up in client logs.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
Affected versions
2.6.0 to before 2.6.11
What to do
Upgrade to 2.6.11 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2024-5594 (opens in a new tab)

8. CVE-2018-7544: Denial of service

  • CVSS 9.1 Critical
  • Published 2018-03-16
  • CWE-134
What NVD says
A cross-protocol scripting issue was discovered in the management interface in OpenVPN through 2.4.5. When this interface is enabled over TCP without a password, and when no other clients are connected to this interface, attackers can execute arbitrary management commands, obtain sensitive information, or cause a denial of service (SIGTERM) by triggering XMLHttpRequest actions in a web browser.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and availability.
Affected versions
up to and including 2.4.5
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2018-7544 (opens in a new tab)

9. CVE-2024-4877: Security flaw

  • CVSS 8.8 High
  • Published 2025-04-03
  • CWE-268
What NVD says
OpenVPN version 2.4.0 through 2.6.10 on Windows allows an external, lesser privileged process to create a named pipe which the OpenVPN GUI component would connect to allowing it to escalate its privileges
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.4.0 to before 2.6.11
What to do
Upgrade to 2.6.11 or a later release, then restart the service.

NVD record for CVE-2024-4877 (opens in a new tab)

10. CVE-2026-12932: Denial of service

  • CVSS 8.1 High
  • Published 2026-07-30
  • CWE-401
What NVD says
A memory leak in the tls-crypt-v2 client key extraction in OpenVPN 2.5.0 through 2.6.20 and 2.7_alpha1 through 2.7.4 allows remote attackers to cause a denial of service (memory exhaustion) via a flood of crafted packets
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality and availability.
Affected versions
2.5.0 to before 2.6.21; 2.7 to before 2.7.5
What to do
Upgrade to the fixed release for your branch (2.6.21, 2.7.5) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-12932 (opens in a new tab)

OpenVPN end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid OpenVPN vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported OpenVPN releases are 2.7, 2.6.

OpenVPN release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
OpenVPN 2.7Feb 11, 2026Not announced2.7.8Supported
OpenVPN 2.6Jan 25, 2023Aug 31, 20282.6.23Supported
OpenVPN 2.5Oct 27, 2020Jul 31, 20252.5.11End of life
OpenVPN 2.4Dec 16, 2016Mar 31, 20232.4.12End of life
OpenVPN 2.3Jan 2, 2013Jun 30, 20212.3.18End of life
OpenVPN 2.2Apr 21, 2011Nov 30, 20152.2.3End of life
OpenVPN 2.1Dec 11, 2009Nov 30, 20112.1.4End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

How to check if your OpenVPN is vulnerable

Find the exact version first, then compare it with the affected and fixed versions in each CVE above.

openvpn --version

On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.

OpenVPN security checklist

  1. Patch firmware and software quickly: internet-facing network devices are among the first things attackers target.
  2. Never expose the management interface to the internet; use a VPN or a dedicated management network.
  3. Enable multi-factor authentication for administrators and VPN users.
  4. Subscribe to the vendor's security advisories.
  5. Keep configuration backups and review logs regularly.

Where you run OpenVPN matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating OpenVPN: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than OpenVPN. A flaw anywhere in the chain can be the way in, so also review our guides to WireGuard vulnerabilities, OpenSSL vulnerabilities and pfSense vulnerabilities.

How to get alerted about new OpenVPN vulnerabilities

NVD received 12 new OpenVPN CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose OpenVPN and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run OpenVPN alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about OpenVPN vulnerabilities

What are the most critical OpenVPN vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical OpenVPN CVEs include CVE-2024-27903 (CVSS 9.8), CVE-2023-46850 (CVSS 9.8), CVE-2022-0547 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have OpenVPN vulnerabilities been exploited in real attacks?

For the OpenVPN product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep OpenVPN patched.

How many vulnerabilities does OpenVPN have?

As of Nov 3, 2026 the National Vulnerability Database lists 49 CVEs for OpenVPN, with 8 rated critical by CVSS v3. 12 were published in the previous twelve months.

Which OpenVPN versions are still supported?

As of Nov 3, 2026, endoflife.date lists these OpenVPN releases as supported: 2.7, 2.6. Releases that are not listed are past their announced end of life.

How do I check which OpenVPN version I run?

Run openvpn --version on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.

How can I get alerted when a new OpenVPN CVE is published?

Add OpenVPN to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose OpenVPN and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is OpenVPN secure?

OpenVPN is as secure as its patch level. NVD published 12 new OpenVPN CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2024-27903?

CVE-2024-27903 is a critical OpenVPN vulnerability with a CVSS score of 9.8, published Jul 8, 2024. OpenVPN plug-ins on Windows with OpenVPN 2.6.9 and earlier could be loaded from any directory, which allows an attacker to load an arbitrary plug-in which can be used to interact with the privileged OpenVPN interactive service.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.