USN-9151-1

Source
https://ubuntu.com/security/notices/USN-9151-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-9151-1
Upstream
Related
Published
2026-11-18T07:33:31Z
Modified
2026-11-19T00:43:42Z
Summary
needrestart vulnerability
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.

References

Affected packages

Ubuntu:22.04:LTS
needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.5-5ubuntu2.6

Affected versions

3.*
3.5-4ubuntu2
3.5-5ubuntu1
3.5-5ubuntu2
3.5-5ubuntu2.1
3.5-5ubuntu2.2
3.5-5ubuntu2.3
3.5-5ubuntu2.4
3.5-5ubuntu2.5

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "needrestart",
            "binary_version":  "3.5-5ubuntu2.6"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-124757",
            "severity":  [
                {
                    "score":  "high",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:22.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"
Ubuntu:24.04:LTS
needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.6-7ubuntu4.6

Affected versions

3.*
3.6-5
3.6-6
3.6-7
3.6-7ubuntu3
3.6-7ubuntu4
3.6-7ubuntu4.1
3.6-7ubuntu4.3
3.6-7ubuntu4.4
3.6-7ubuntu4.5

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "needrestart",
            "binary_version":  "3.6-7ubuntu4.6"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-124757",
            "severity":  [
                {
                    "score":  "high",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:24.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"
Ubuntu:26.04:LTS
needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.11-1ubuntu2.26.04.1

Affected versions

3.*
3.11-1ubuntu1
3.11-1ubuntu2

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "needrestart",
            "binary_version":  "3.11-1ubuntu2.26.04.1"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-124757",
            "severity":  [
                {
                    "score":  "high",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:26.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"
Ubuntu:26.10
needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.11-1ubuntu2.26.10.1

Affected versions

3.*
3.11-1ubuntu2

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "needrestart",
            "binary_version":  "3.11-1ubuntu2.26.10.1"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-124757",
            "severity":  [
                {
                    "score":  "high",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:26.10"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"
Ubuntu:Pro:16.04:LTS
needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.6-1ubuntu0.1~esm4

Affected versions

2.*
2.1-1
2.3-2
2.4-1
2.5-1
2.6-1
2.6-1ubuntu0.1~esm1
2.6-1ubuntu0.1~esm2
2.6-1ubuntu0.1~esm3

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "needrestart",
            "binary_version":  "2.6-1ubuntu0.1~esm4"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-124757",
            "severity":  [
                {
                    "score":  "high",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:16.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"
Ubuntu:Pro:18.04:LTS
needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1-1ubuntu0.1+esm4

Affected versions

2.*
2.11-4
3.*
3.0-1
3.1-1
3.1-1ubuntu0.1
3.1-1ubuntu0.1+esm1
3.1-1ubuntu0.1+esm2
3.1-1ubuntu0.1+esm3

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "needrestart",
            "binary_version":  "3.1-1ubuntu0.1+esm4"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-124757",
            "severity":  [
                {
                    "score":  "high",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:18.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"
Ubuntu:Pro:20.04:LTS
needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.4-6ubuntu0.1+esm4

Affected versions

3.*
3.4-5
3.4-6
3.4-6ubuntu0.1
3.4-6ubuntu0.1+esm1
3.4-6ubuntu0.1+esm2
3.4-6ubuntu0.1+esm3

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "needrestart",
            "binary_version":  "3.4-6ubuntu0.1+esm4"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-124757",
            "severity":  [
                {
                    "score":  "high",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:20.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"