Skip to content
DoS Advisory Intermediate CVE-2026-35058

OpenVPN TLS Crypt v2 Client Key Extraction denial of service vulnerability

A reachable assertion in OpenVPN's tls-crypt-v2 client key extraction allows an attacker with a valid client key to send a crafted packet that strips the wrapped key leaving an empty buffer, causing an assertion failure and server crash. This results in a denial of service, terminating all VPN sessions.

Emma Reuter Follow

Originally disclosed on Cisco Talos

High 7.7 View original

A reachable assertion vulnerability exists in the TLS Crypt v2 Client Key Extraction functionality of OpenVPN 2.6.x and 2.8git. A specially crafted network packets can lead to a denial of service.

Emma Reuter, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The code fails to verify that the buffer is non-empty after removing the wrapped client key in the non-initial packet path, leading to an assertion failure in a subsequent function.

Impact

An attacker can crash the OpenVPN server, terminating all connected VPN sessions, and can repeat the attack as soon as the server restarts.

What the attacker needed

Server has --tls-crypt-v2 enabled; attacker has a valid tls-crypt-v2 client key

The fix

The recommended fix is to validate that stripping the WKC leaves a non-empty buffer in the !initial_packet path of tls_crypt_v2_extract_client_key().

How it was found

  1. Configure the OpenVPN server with tls-crypt-v2 and a PKI.
  2. Obtain a valid tls-crypt-v2 client key.
  3. Send a P_CONTROL_HARD_RESET_CLIENT_V3 packet to establish a session.
  4. Send a P_CONTROL_HARD_RESET_SERVER_V2 packet to complete the handshake.
  5. Send a P_CONTROL_WKC_V1 packet with the WKC length field set to the total packet length, triggering the crash.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

OpenVPN is software that creates secure network connections. A denial-of-service attack makes a service crash so legitimate users cannot use it. Here, a specially crafted packet causes the server to hit an internal check that aborts the program, killing all connections.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.