Threat intel4 min read
OpenVPN 2.7.10 fixes three flaws, including a path to root on Linux
OpenVPN 2.7.10 fixes three vulnerabilities: a UDP packet that crashes servers, an oversized certificate that stalls Mbed TLS builds, and a DNS helper bug that hands root to a local user on non-Windows systems.
4Tify Team

OpenVPN 2.7.10, released on 2 December 2026, fixes three vulnerabilities in the community edition of the VPN software. Two of them let an attacker stall or crash a server before anyone logs in. The third lets someone who already runs code as OpenVPN's unprivileged account become root on Linux, BSD and other non-Windows systems. No exploitation has been reported, and the project has not published CVSS scores.
What happened
The OpenVPN project's update carries fixes for CVE-2026-142094, CVE-2026-135412 and CVE-2026-142125, along with a handful of stability fixes. Each issue has its own page among the OpenVPN security announcements, and the full change list is in the 2.7.10 release notes.
Who is affected
- CVE-2026-142094, the server crash: OpenVPN 2.4.0 through 2.7.9 over UDP. TCP setups, TUN servers and point-to-point configurations that set
--remoteare not affected. - CVE-2026-135412, the CPU exhaustion: OpenVPN 2.6.0 through 2.7.9, only in builds that use Mbed TLS. Builds on OpenSSL are not affected.
- CVE-2026-142125, the privilege escalation: OpenVPN 2.7_alpha1 through 2.7.9 on non-Windows systems, when the server drops privileges with
--userand uses a DNS updown script, either the default one or a custom one.
The 2.6 branch is in an awkward spot. Its versions fall inside the ranges for the first two flaws, but the release history lists no 2.6 update next to 2.7.10. The newest 2.6 build is still 2.6.23 from September.
How the flaws work
The UDP crash
OpenVPN did not throw away UDP datagrams whose source address is unspecified (0.0.0.0 or ::). One such packet, sent before any authentication, ends the process. In UDP server mode a replayed client reset is enough to trigger it, and in point-to-point mode without --remote the --tls-auth, --tls-crypt and --float options do not stop it. The release notes say the packets can come from hosts on the same network link as the server. On a TAP server, a client that has already logged in can cause the same crash from any network by sending a reset through the tunnel. When the process dies, every tunnel drops until the service restarts.
The oversized certificate
When a certificate fails verification, OpenVPN turns its serial number into a decimal string for the log. The length of that serial had no limit. On Mbed TLS the conversion is slow, and the OpenVPN event loop is single-threaded, so the whole server waits while it runs. The attacker needs only a certificate of their own; it does not have to be signed by the server's CA. In the reporters' tests one 8 KB serial kept the CPU busy for about 51 seconds on Mbed TLS 3.6.5 and about 2.1 seconds on Mbed TLS 4.x. Servers that use --tls-auth, --tls-crypt or --tls-crypt-v2 are not reachable this way by an unauthenticated attacker. The fix rejects any certificate whose serial is longer than 40 bytes, twice the maximum that RFC 5280 allows, so standard certificates should keep working.
The DNS helper
With --user, OpenVPN gives up root but keeps a small runner process with root rights to execute the DNS script. The unprivileged side wrote the DNS settings to a temporary file and handed the path to the runner, which loaded the file as root and then deleted it without checking the path or who owned the file. Someone able to run code as the --user account could use this to execute shell code as root or delete any file on the system. That account is often a shared service user. The attacker needs that foothold on the VPN host first. The bug then turns it into full control of the machine. Version 2.7.10 passes the DNS settings over a pipe and accepts only variable names from a fixed list.
What to do now
- Find every OpenVPN server and client you run and check the version with
openvpn --version. That output also shows whether the build uses OpenSSL or Mbed TLS. - Upgrade the community edition to 2.7.10 or later. If you install OpenVPN from a Linux distribution, or run OpenVPN Access Server, wait for the update from that channel; the package version may differ from the upstream number.
- Until you can patch, turn on
--tls-cryptor--tls-authif you haven't. That closes the certificate path to outsiders. It does not cover the UDP crash in point-to-point mode. - On Linux and BSD servers, search your configs for
--usertogether withdns-updown, and check which other services or people can run code as that user. - On 2.6 systems, plan the move to 2.7.10, since no fixed 2.6 release is listed yet.
- After the upgrade, confirm that the running service reports the new version, connect a test client, and check that internal DNS names still resolve over the tunnel.
VPN gateways sit on the internet edge, and an outdated build is easy to miss among dozens of hosts. Our vulnerability scanning flags exposed services running versions with known CVEs like these three, so you see which machines still need the patch.
