{"id":"USN-9151-1","summary":"needrestart vulnerability","details":"Armaan Sandhu discovered that needrestart did not properly handle systemd\ncgroup paths and process names. A local attacker could possibly use these\nissues to escalate privileges.","modified":"2026-11-19T00:43:42.819559940Z","published":"2026-11-18T07:33:31Z","related":["UBUNTU-CVE-2026-124757"],"upstream":["CVE-2026-124757","UBUNTU-CVE-2026-124757"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9151-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-124757"}],"affected":[{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-1ubuntu0.1~esm4"}]}],"versions":["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":{"binaries":[{"binary_version":"2.6-1ubuntu0.1~esm4","binary_name":"needrestart"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json","cves_map":{"cves":[{"severity":[{"type":"Ubuntu","score":"high"}],"id":"CVE-2026-124757"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"}}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1-1ubuntu0.1+esm4"}]}],"versions":["2.11-4","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":{"binaries":[{"binary_name":"needrestart","binary_version":"3.1-1ubuntu0.1+esm4"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"severity":[{"score":"high","type":"Ubuntu"}],"id":"CVE-2026-124757"}]}}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4-6ubuntu0.1+esm4"}]}],"versions":["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":{"binaries":[{"binary_name":"needrestart","binary_version":"3.4-6ubuntu0.1+esm4"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"severity":[{"score":"high","type":"Ubuntu"}],"id":"CVE-2026-124757"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/needrestart?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5-5ubuntu2.6"}]}],"versions":["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":{"binaries":[{"binary_version":"3.5-5ubuntu2.6","binary_name":"needrestart"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2026-124757","severity":[{"score":"high","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/needrestart?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6-7ubuntu4.6"}]}],"versions":["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":{"binaries":[{"binary_name":"needrestart","binary_version":"3.6-7ubuntu4.6"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"severity":[{"score":"high","type":"Ubuntu"}],"id":"CVE-2026-124757"}],"ecosystem":"Ubuntu:24.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/needrestart?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.11-1ubuntu2.26.10.1"}]}],"versions":["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":[{"severity":[{"type":"Ubuntu","score":"high"}],"id":"CVE-2026-124757"}],"ecosystem":"Ubuntu:26.10"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/needrestart?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.11-1ubuntu2.26.04.1"}]}],"versions":["3.11-1ubuntu1","3.11-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.11-1ubuntu2.26.04.1","binary_name":"needrestart"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9151-1.json","cves_map":{"ecosystem":"Ubuntu:26.04:LTS","cves":[{"severity":[{"score":"high","type":"Ubuntu"}],"id":"CVE-2026-124757"}]}}}],"schema_version":"1.9.2"}