Home / needrestart / needrestart / CVE-2024-48991
CVE-2024-48991: is it exploited, and which versions of needrestart are affected and fixed?
CVE-2024-48991 is a race condition vulnerability in needrestart. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: needrestart before 3.8 (CVE record by canonical). Fixed in 3.8 (CVE record by canonical). Severity: High (7.8, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2024-48991?
Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by winning a race condition and tricking needrestart into running their own, fake Python interpreter (instead of the system's real Python interpreter). The initial security fix (6ce6136) introduced a regression which was subsequently resolved (42af5d3).
From the CVE record by canonical, last updated November 3, 2025, 22:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| needrestart | needrestart Linux | before 3.8 | 3.8 |
As the CVE record by canonical states it, last updated November 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| needrestart project | needrestart | before 3.8 | application |
NVD analysis (status Modified), last modified June 17, 2026, 07:59 UTC.
How severe is CVE-2024-48991?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | canonical |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-48991 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, November 19, 2024)
- EPSS
- 6.07% probability of exploitation activity in the next 30 days, percentile 93.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Is there a workaround? (from the CVE record)
Edit /etc/needrestart/needrestart.conf so that the following line appears after "# Disable interpreter scanners." and reboot: $nrconf{interpscan} = 0;
Where are the vendor advisories and references?
- https://www.cve.org/CVERecord?id=CVE-2024-48991 issue-tracking
- https://github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59 patch
- https://github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fd56d patch
- https://www.qualys.com/2024/11/19/needrestart/needrestart.txt third-party-advisory
- http://www.openwall.com/lists/oss-security/2024/11/30/4
- https://www.openwall.com/lists/oss-security/2024/11/19/1
- http://seclists.org/fulldisclosure/2024/Nov/17
- https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html
Who found and reported it?
- Qualys (finder)
- Thomas Liske (remediation developer)
- Mark Esler (coordinator)
- Salvatore Bonaccorso (remediation reviewer)
- Ivan Kurnosov (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 11, 2024
- Published
- November 19, 2024, 17:38 UTC
- CVE record updated
- November 3, 2025, 22:22 UTC by canonical
- NVD
- Modified, last modified June 17, 2026, 07:59 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect needrestart?
- Nov 19, 2024CVE-2024-48992 needrestart: uncontrolled search path (DLL or library hijacking)
- Nov 19, 2024CVE-2024-48990 needrestart: uncontrolled search path (DLL or library hijacking)
- Nov 19, 2024CVE-2024-11003 needrestart: OS command injection
Questions about CVE-2024-48991
Is CVE-2024-48991 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 6.07% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of needrestart are affected by CVE-2024-48991?
needrestart before 3.8, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2024-48991?
3.8, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-48991?
High (7.8, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2024-48991?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.