USN-9151-1: needrestart vulnerability

Publication date

18 November 2026

Overview

needrestart could be made to run programs as an administrator.


Packages

  • needrestart - check which daemons need to be restarted after library upgrades

Details

Armaan Sandhu discovered that needrestart did not properly handle systemd
cgroup paths and process names. A local attacker could possibly use these
issues to escalate privileges.

Armaan Sandhu discovered that needrestart did not properly handle systemd
cgroup paths and process names. A local attacker could possibly use these
issues to escalate privileges.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.10 stonking needrestart –  3.11-1ubuntu2.26.10.1
26.04 LTS resolute needrestart –  3.11-1ubuntu2.26.04.1
24.04 LTS noble needrestart –  3.6-7ubuntu4.6
22.04 LTS jammy needrestart –  3.5-5ubuntu2.6
20.04 LTS focal needrestart –  3.4-6ubuntu0.1+esm4  
18.04 LTS bionic needrestart –  3.1-1ubuntu0.1+esm4  
16.04 LTS xenial needrestart –  2.6-1ubuntu0.1~esm4

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›