VDB

CVE-2026-68341

CVE-2026-68341 PUBLISHED CVSS 8.8 HIGH

ovpn: fix use after free in unlock_ovpn()

Reported by linux · Published August 10, 2026

In the Linux kernel, the following vulnerability has been resolved: ovpn: fix use after free in unlock_ovpn() unlock_ovpn() iterates over the release_list using llist_for_each_entry() and drops the peer reference inside the loop body via ovpn_peer_put(). If this drops the last reference, the peer is eventually freed. However, llist_for_each_entry() reads peer->release_entry.next in the loop advance expression, which runs after the body. By that time the peer may have already been freed, resulting in a use after free when advancing to the next list entry. Fix this by using llist_for_each_entry_safe(), which caches the next pointer before executing the loop body.

EPSS 0.57% · 47.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxe1ad6fe5db719874efa45b2caf9934552e09fc43, 6.16, 5b96227c0e8b212b74838424c929fc889aedb555, 4cdb209f12a89c5faf9be0c45edb90ccdf65db0c

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.57%
47.9th percentile

Affected products

VendorProductVersions
LinuxLinux80747caef33d77f5c1b3d24644e6d7dae69066b5, 80747caef33d77f5c1b3d24644e6d7dae69066b5, 80747caef33d77f5c1b3d24644e6d7dae69066b5
LinuxLinux6.16, 0, 6.18.42
LinuxLinux7.2, 0, 6.18.42
linuxlinux_kernel6.16, 6.16, 6.16

Timeline

  • Aug 10, 2026 CVE Published
  • Aug 11, 2026 Coalition ESS Score
  • Aug 21, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68341
vulnetix vdb fixes CVE-2026-68341

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68341/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›