# OpenVPN Community Edition flaws: pre-auth server crash from unspecified-source UDP (CVE-2026-142094), Mbed TLS pre-auth CPU exhaustion (CVE-2026-135412), --dns-updown root privilege escalation (CVE-2026-142125); fixed in 2.7.10

> OpenVPN 2.7.10 (released 2026-12-02) fixes three separate flaws: a pre-authentication server crash triggered by a UDP datagram with an unspecified source address, CPU exhaustion from an oversized certificate serial number in Mbed TLS builds, and a local privilege escalation to root via the DNS updown script hook on POSIX systems. The advisories do not describe a chained attack and do not establish unauthenticated internet-based root on a default server.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-04T04:33:49Z
- **Last updated:** 2026-12-04T04:33:49Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7466
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7466.png
- **ID:** TL-2026-7466
- **Severity:** MEDIUM
- **Category:** VULNERABILITY
- **Status:** PATCHED
- **Detections:** 9 (1 shown free below) · **IOCs:** 9 (1 shown free below)
- **CVEs:** CVE-2026-142094, CVE-2026-135412, CVE-2026-142125

## Description

OpenVPN 2.7.10, released on 2026-12-02, contains fixes for three independent security issues in OpenVPN Community Edition. No CVSS scores, CWE identifiers, exploitation status or public proof-of-concept are stated in the vendor advisories or release notes, and NVD returned no record for any of the three CVE IDs at research time (2026-12-04). The severity level in this record is a provisional analyst rating, not a sourced value.

CVE-2026-142094 (pre-authentication denial of service): OpenVPN 2 accepts UDP datagrams carrying an unspecified source address (0.0.0.0 or ::). A single such packet sent before authentication can terminate the process. In point-to-point mode without --remote the crash is a NULL pointer dereference; in UDP server mode the process fails an assertion and exits (or segfaults on OpenVPN 2.5). On a TAP-mode server, an authenticated client can trigger the crash through the tunnel by sending a reset to 255.255.255.255 on the server port. The release notes describe the source as a host on the same link as the server or an authenticated TAP client. TCP, TUN servers and point-to-point configurations with --remote are not affected. Affected: 2.4.0 through 2.7.9. The advisory lists no workaround and states that --tls-auth, --tls-crypt, --float and --verb 0 do not mitigate the point-to-point case. The fix drops UDP datagrams with an unspecified source address before further processing. Impact: active tunnels drop and new connections are blocked until the service recovers.

CVE-2026-135412 (pre-authentication CPU exhaustion, Mbed TLS builds): when certificate verification fails, verify_callback() formats the certificate serial number as a decimal string for logging. The serial length is attacker-controlled and unbounded, and with Mbed TLS the conversion becomes very slow for large serials. Because the event loop is single-threaded, one such connection stalls the server for all other clients. The attacker only needs a certificate not signed by the server CA. The reporters measured about 51 seconds of CPU for one 8 KB serial on Mbed TLS 3.6.5 and about 2.1 seconds on Mbed TLS 4.x. Affected: 2.6.0 through 2.7.9 on Mbed TLS builds; OpenSSL builds are not affected, and an unauthenticated attacker cannot reach the code path when the server uses --tls-auth, --tls-crypt or --tls-crypt-v2. The fix rejects certificates with serial numbers over 40 bytes (twice the RFC 5280 maximum of 20) on both the Mbed TLS and OpenSSL backends.

CVE-2026-142125 (POSIX DNS script hook privilege escalation): when OpenVPN drops privileges with --user, a root runner process executes the DNS updown script (--dns-updown, default or custom). The unprivileged main process wrote DNS variables to a temporary file that the root runner then sourced and deleted without validating the path or file ownership. An attacker able to run code as the --user account could use this to execute shell code as root or delete an arbitrary path as root. Affected: 2.7_alpha1 through 2.7.9, only on systems using --user together with a DNS updown script. The release notes do not establish that an unauthenticated internet attacker can gain root on a default server. The fix passes DNS variables to the runner over a pipe and accepts only allow-listed variable names. The advisory is separate from a 2025 DNS script injection issue involving the same option.

Remediation per the source: upgrade Community Edition to 2.7.10 or later, check distribution packages and OpenVPN Access Server update channels (the Community Edition version number may not apply), and review whether profiles use --dns-updown. After patching, verify the running service version, reconnect a test client and confirm internal DNS names still resolve over the VPN.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1078 Valid Accounts
- T1059.004 Unix Shell
- T1499.004 Application or System Exploitation
- T1485 Data Destruction

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**OpenVPN Server Assertion Failure or Crash (CVE-2026-142094) — Exploitation Impact** (`TL-2026-7466-SPL-001`)

Detects an OpenVPN server process aborting or segfaulting in syslog, including the process_outgoing_link() assertion (UDP server mode) and link_socket_bad_incoming_addr() NULL dereference (point-to-point mode) caused by a single UDP datagram with an unspecified source address (0.0.0.0 or ::) in OpenVPN 2.4.0 through 2.7.9. A crash drops all active tunnels and blocks new connections until the service restarts. The match shows the process crashed, not who sent the packet, so pair it with firewall telemetry for the sender.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1499.004, T1190
- **Data sources:** linux_syslog, systemd_journal
- **Severity:** medium
- **Confidence:** high

### Splunk SPL

````spl
index=linux sourcetype=syslog earliest=-24h openvpn ("Assertion failed" OR "segfault" OR "SIGSEGV" OR "SIGABRT" OR "status=6/ABRT" OR "status=11/SEGV" OR "process_outgoing_link" OR "link_socket_bad_incoming_addr")
```CVE-2026-142094: classify the crash signature for the openvpn server process```
| eval crash_type=case(searchmatch("Assertion failed") OR searchmatch("process_outgoing_link"), "assertion_udp_server_mode", searchmatch("link_socket_bad_incoming_addr"), "null_deref_point_to_point", searchmatch("segfault") OR searchmatch("SIGSEGV") OR searchmatch("status=11/SEGV"), "segfault", true(), "abort")
| stats count AS events min(_time) AS first_seen max(_time) AS last_seen values(crash_type) AS crash_types BY host
| convert ctime(first_seen) ctime(last_seen)
````

### Microsoft KQL

```kql
Syslog
| where TimeGenerated > ago(24h)
| where ProcessName has_any ("openvpn", "ovpn") or SyslogMessage has "openvpn"
| where SyslogMessage has_any ("Assertion failed", "segfault", "SIGSEGV", "SIGABRT", "status=6/ABRT", "status=11/SEGV", "process_outgoing_link", "link_socket_bad_incoming_addr")
| extend CrashType = case(SyslogMessage has_any ("Assertion failed", "process_outgoing_link"), "assertion_udp_server_mode", SyslogMessage has "link_socket_bad_incoming_addr", "null_deref_point_to_point", "segfault_or_abort")
| summarize Events = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), CrashTypes = make_set(CrashType) by Computer
| project Computer, Events, FirstSeen, LastSeen, CrashTypes
```

### Sigma

```yaml
title: OpenVPN Server Assertion Failure or Crash (CVE-2026-142094)
id: 3e9b7a14-5c2d-4f80-b6a1-9d0c41e7f2a8
status: experimental
description: Detects OpenVPN assertion failure or crash messages associated with an unspecified-source UDP datagram (CVE-2026-142094) in OpenVPN 2.4.0 through 2.7.9.
references:
  - https://community.openvpn.net/Security%20Announcements/CVE-2026-142094
  - https://github.com/OpenVPN/openvpn/releases/tag/v2.7.10
author: Threadlinqs Team
date: 2026-12-04
tags:
  - attack.impact
  - attack.t1499.004
  - attack.initial-access
  - attack.t1190
  - cve.2026-142094
logsource:
  product: linux
  service: syslog
detection:
  kw_process:
    - 'openvpn'
  kw_crash:
    - 'Assertion failed'
    - 'process_outgoing_link'
    - 'link_socket_bad_incoming_addr'
    - 'segfault'
  condition: kw_process and kw_crash
falsepositives:
  - OpenVPN crashes from unrelated bugs or out-of-memory conditions
  - Deliberate fault-injection or fuzz testing of a lab server
level: medium
```

**Known false positives:**

- Unrelated OpenVPN crashes from memory exhaustion or other bugs produce the same abort or segfault signature
- Lab or fuzz-testing servers deliberately crashed during QA

**Tuning notes:** Adjust index and sourcetype to where OpenVPN or systemd logs land. Scope to hosts running OpenVPN 2.4.0 through 2.7.9 (UDP server or point-to-point without --remote). Alert on a single event because the crash is a service outage. Correlate with firewall logs for UDP to the OpenVPN port from an unspecified source.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- UDP Datagram With Unspecified Source Address to OpenVPN Port (CVE-2026-142094) — Exploitation (locked: unlock with TL Creds)
- Root OpenVPN Runner Deleting Files Outside Temp Paths (CVE-2026-142125) — Post-Exploitation (locked: unlock with TL Creds)
- OpenVPN Crash Shortly After Client Authentication (CVE-2026-142094 TAP Client Trigger) — Valid Account Abuse (locked: unlock with TL Creds)
- OpenVPN systemd Service Killed or Dumped Core (CVE-2026-142094) — Exploitation Impact (locked: unlock with TL Creds)
- OpenVPN Launched With --user and --dns-updown (CVE-2026-142125 Exposure) — Post-Exploitation Precondition (locked: unlock with TL Creds)
- OpenVPN Kernel Segfault Record (CVE-2026-142094 NULL Dereference) — Exploitation Impact (locked: unlock with TL Creds)
- OpenVPN DNS Updown Runner Spawning Root Shell From Temp Path (CVE-2026-142125) — Post-Exploitation (locked: unlock with TL Creds)
- OpenVPN Repeated Pre-Auth TLS Verification Failures From One Source (CVE-2026-135412) — Resource Exhaustion (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (1 of 9)

Defanged, TLP:CLEAR.

- File hash: `fa51f369c51806271a75be813169e368dc13885d`

Full set of 9 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Three OpenVPN Flaws Let Attackers Crash VPN Servers and Gain Root Access (Cyber Security News)](https://cybersecuritynews.com/openvpn-server-crash-vulnerability/)
- [OpenVPN v2.7.10 release notes (GitHub)](https://github.com/OpenVPN/openvpn/releases/tag/v2.7.10)
- [OpenVPN Security Announcement: CVE-2026-142094](https://community.openvpn.net/Security%20Announcements/CVE-2026-142094)
- [OpenVPN Security Announcement: CVE-2026-135412](https://community.openvpn.net/Security%20Announcements/CVE-2026-135412)
- [OpenVPN Security Announcement: CVE-2026-142125](https://community.openvpn.net/Security%20Announcements/CVE-2026-142125)
- [OpenVPN Community Release History (2.7.10 released 2 December 2026)](https://community.openvpn.net/ReleaseHistory#openvpn-2710-released-2-december-2026)
- [CVE Record: CVE-2026-135412](https://www.cve.org/CVERecord?id=CVE-2026-135412)
- [OpenVPN v2.7.9...v2.7.10 comparison (GitHub)](https://github.com/OpenVPN/openvpn/compare/v2.7.9...v2.7.10)
- [OpenVPN Community Downloads](https://community.openvpn.net/Downloads)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7466
