GrepBoard/Manuals
605 manuals ·

OpenVPN USN-8953-1 (CVE-2026-84790): update and restart

·Tested on Ubuntu 24.04 · openvpn 2.6.19-0ubuntu0.24.04.5 (Docker) · 2026-10·Test scope ↓·5 steps

USN-8953-1 (10/22, CVE-2026-84790) is fixed in openvpn 2.6.19-0ubuntu0.24.04.5 on Ubuntu 24.04. The package won't restart the daemon; restart each instance.

On 2026-10-22 Ubuntu published OpenVPN security notice USN-8953-1. OpenVPN incorrectly handled certificate subject fields, and a remote authenticated user could possibly use this to impersonate other users (CVE-2026-84790, Ubuntu priority Medium). The fixed version for 24.04 LTS is 2.6.19-0ubuntu0.24.04.5, and the notice says that after a standard system update you need to restart OpenVPN. If you update but skip the restart, the running daemon keeps the old code.

[1] Check that the installed version is at least the fixed one. You want fixed.

console
# dpkg-query -W openvpnopenvpn	2.6.9-1ubuntu4# dpkg --compare-versions "$(dpkg-query -W -f=\${Version} openvpn)" ge 2.6.19-0ubuntu0.24.04.5 && echo fixed || echo "NOT fixed"NOT fixed

[2] Install the update. First confirm the fixed version is visible in the repository.

console
# apt list --upgradable 2>/dev/null | grep -i openvpnopenvpn/noble-updates,noble-security 2.6.19-0ubuntu0.24.04.5 amd64 [upgradable from: 2.6.9-1ubuntu4]# apt-get install --only-upgrade openvpn

The package changelog contains this fix (maintainer name trimmed):

console
# zcat /usr/share/doc/openvpn/changelog.Debian.gz | head -7openvpn (2.6.19-0ubuntu0.24.04.5) noble-security; urgency=medium   * SECURITY UPDATE: impersonation via certificate subject field    - debian/patches/CVE-2026-84790.patch: Check for null-bytes in certificate      subjects in src/openvpn/ssl_verify_mbedtls.c,      src/openvpn/ssl_verify_openssl.c.    - CVE-2026-84790

[3] Find the running OpenVPN instances. The Ubuntu package ships four units, and real tunnels run as instances with the config name after @.

console
# ls /usr/lib/systemd/system/ | grep -i openvpnopenvpn-client@.serviceopenvpn-server@.serviceopenvpn.serviceopenvpn@.service# systemctl list-units --type=service 'openvpn*'

Per each unit's WorkingDirectory=, openvpn-server@<name> reads /etc/openvpn/server/<name>.conf, openvpn-client@<name> reads /etc/openvpn/client/<name>.conf, and the legacy openvpn@<name> reads /etc/openvpn/<name>.conf. The config file name is the instance name.

[4] Restart each instance you found. The package scripts only start openvpn.service; they do not restart anything (checked in the postinst script).

console
# systemctl restart openvpn-server@server

[5] Check for processes still running old code. A process not restarted after the update shows its executable as deleted.

console
# for p in $(pgrep -x openvpn); do echo "$p $(readlink /proc/$p/exe)"; done227 /usr/sbin/openvpn (deleted)

Any line with (deleted) has not been restarted. After the restart it looks like this:

console
# for p in $(pgrep -x openvpn); do echo "$p $(readlink /proc/$p/exe)"; done295 /usr/sbin/openvpn

dpkg.log records when the update went in. If unattended-upgrades applied it overnight, use this line for the time and restart instances started before it.

console
# grep " upgrade openvpn" /var/log/dpkg.log2026-10-26 21:59:55 upgrade openvpn:amd64 2.6.9-1ubuntu4 2.6.19-0ubuntu0.24.04.5

Where checking gets confusing

Looks likeActually
OpenVPN 2.6.19 from openvpn --versionThe unfixed 0ubuntu0.24.04.4 and the fixed .5 print the same string. Decide by the package version from dpkg-query
Package upgraded, so doneThe package does not restart the daemon. Confirm with the (deleted) check in [5]
Restarting openvpn.service onlyThe real tunnels are the openvpn-server@…, openvpn-client@…, and openvpn@… instances

To see every service needing a restart on the server at once, see needrestart after a security update; to confirm automatic security updates actually applied, see check unattended-upgrades.

#openvpn#usn#cve-2026-84790#ubuntu-security#restart