USN-9151-1: needrestart vulnerability

Published Nov 18, 2026
·
Updated

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.

Affected Software

14 affected componentsFixes available
All of the following
ubuntu/needrestart<3.11-1ubuntu2.26.10.1
3.11-1ubuntu2.26.10.1
Ubuntu Ubuntu=26.10
All of the following
ubuntu/needrestart<3.11-1ubuntu2.26.04.1
3.11-1ubuntu2.26.04.1
Ubuntu Ubuntu=26.04
All of the following
ubuntu/needrestart<3.6-7ubuntu4.6
3.6-7ubuntu4.6
Ubuntu Ubuntu=24.04
All of the following
ubuntu/needrestart<3.5-5ubuntu2.6
3.5-5ubuntu2.6
Ubuntu Ubuntu=22.04
All of the following
ubuntu/needrestart<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/needrestart<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/needrestart<2.6-1ubuntu0.1~esm4
2.6-1ubuntu0.1~esm4
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/needrestart to a version that resolves this vulnerability.

    Fixed in 3.11-1ubuntu2.26.10.1
  2. Upgrade

    Upgrade ubuntu/needrestart to a version that resolves this vulnerability.

    Fixed in 3.11-1ubuntu2.26.04.1
  3. Upgrade

    Upgrade ubuntu/needrestart to a version that resolves this vulnerability.

    Fixed in 3.6-7ubuntu4.6
  4. Upgrade

    Upgrade ubuntu/needrestart to a version that resolves this vulnerability.

    Fixed in 3.5-5ubuntu2.6
  5. Upgrade

    Upgrade ubuntu/needrestart to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  6. Upgrade

    Upgrade ubuntu/needrestart to a version that resolves this vulnerability.

    Fixed in 2.6-1ubuntu0.1~esm4

Event History

Nov 18, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who can exploit this issue?

The issue is described as locally exploitable. An attacker would need local access to the affected Ubuntu system.

2

What could an attacker achieve?

A local attacker could possibly escalate privileges by exploiting improper handling of systemd cgroup paths and process names.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203