Use-After-Free in OpenVPN 2.6.0-2.6.20 & 2.7.1-2.7.4 TLS
CVE-2026-12996 Published on July 30, 2026

A use-after-free in OpenVPN 2.6.0 through 2.6.20 and 2.7_alpha1 through 2.7.4 allows remote authenticated peers to potentially cause a denial of service or leak memory via crafted packets during TLS session promotion or expiry

Vendor Advisory NVD

Weakness Types

What is a Dangling pointer Vulnerability?

Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.

CVE-2026-12996 has been classified to as a Dangling pointer vulnerability or weakness.

Out-of-bounds Read

The software reads data past the end, or before the beginning, of the intended buffer. Typically, this can allow attackers to read sensitive information from other memory locations or cause a crash. A crash can occur when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string. The expected sentinel might not be located in the out-of-bounds memory, causing excessive data to be read, leading to a segmentation fault or a buffer overflow. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent read operation then produces undefined or unexpected results.


Products Associated with CVE-2026-12996

stack.watch emails you whenever new vulnerabilities are published in Canonical Ubuntu Linux or OpenVPN. Just hit a watch button to start following.

 
 

Affected Versions

OpenVPN: