{"id":"UBUNTU-CVE-2026-124757","details":"needrestart does not properly validate process names and cgroup paths, allowing a local attacker to escalate privileges to root or inject arbitrary output.","modified":"2026-11-19T00:38:11.167267225Z","published":"2026-11-17T20:30:00Z","related":["USN-9151-1"],"upstream":["CVE-2026-124757"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-124757"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-124757"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9151-1"}],"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":{"priority_reason":"Local privilege escalation","binaries":[{"binary_name":"needrestart","binary_version":"2.6-1ubuntu0.1~esm4"}],"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/cve/2026/UBUNTU-CVE-2026-124757.json"}},{"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":{"priority_reason":"Local privilege escalation","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/cve/2026/UBUNTU-CVE-2026-124757.json"}},{"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":{"priority_reason":"Local privilege escalation","binaries":[{"binary_version":"3.4-6ubuntu0.1+esm4","binary_name":"needrestart"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124757.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":{"priority_reason":"Local privilege escalation","binaries":[{"binary_version":"3.5-5ubuntu2.6","binary_name":"needrestart"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124757.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_version":"3.6-7ubuntu4.6","binary_name":"needrestart"}],"availability":"No subscription required","priority_reason":"Local privilege escalation"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124757.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":{"priority_reason":"Local privilege escalation","binaries":[{"binary_name":"needrestart","binary_version":"3.11-1ubuntu2.26.10.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124757.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":{"availability":"No subscription required","priority_reason":"Local privilege escalation","binaries":[{"binary_version":"3.11-1ubuntu2.26.04.1","binary_name":"needrestart"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124757.json"}}],"schema_version":"1.9.2","severity":[{"type":"Ubuntu","score":"high"}]}