needrestart regression
Affects needrestartSource GCVE Database
Mentioned vulnerabilities
Fixed in 2.6-1ubuntu0.1~esm2 : update needrestart when convenient.
Data as of 24 Nov 2026, 17:24 UTC
Rated by Threat Radar
- Patch
- Available – fixed in 2.6-1ubuntu0.1~esm2, 3.1-1ubuntu0.1+esm2, 3.4-6ubuntu0.1+esm2 +2
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
USN-7117-1 fixed vulnerabilities in needrestart. The update introduced a regression in needrestart. This update fixes the problem. We apologize for the inconvenience. Original advisory details: Qualys discovered that needrestart passed unsanitized data to a library (libmodule-scandeps-perl) which expects safe input. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-11003) Qualys discovered that the library libmodule-scandeps-perl incorrectly parsed perl code. This could allow a local attacker to execute arbitrary shell commands. (CVE-2024-10224) Qualys discovered that needrestart incorrectly used the PYTHONPATH environment variable to spawn a new Python interpreter. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-48990) Qualys discovered that needrestart incorrectly checked the path to the Python interpreter. A local attacker could possibly use this issue to win a race condition and execute arbitrary code as root. (CVE-2024-48991) Qualys discovered that needrestart incorrectly used the RUBYLIB environment variable to spawn a new Ruby interpreter. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-48992)