CVE-2026-12996 Use after free in OpenVPN

Medium 6.0 Published Updated

Remote authenticated peers can cause denial of service or leak memory via crafted packets during TLS session promotion or expiry in OpenVPN.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-12996?

CVE-2026-12996 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 30 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

Weakness: CWE-416, CWE-125

Which versions are affected by CVE-2026-12996?

It affects 2 products.

Products include Debian Debian Linux, Openvpn Openvpn.

How do I fix CVE-2026-12996?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-12996 being exploited?

There is no known exploitation of CVE-2026-12996 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2026-12996, DEBIAN-CVE-2026-12996, GHSA-7226-c5q3-mc6p, OESA-2026-3783, UBUNTU-CVE-2026-12996.

Is CVE-2026-12996 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free