published 19 Nov 2024 · updated 3 Nov 2025
Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by winning a race…
7.8HighCVSS 7.8EPSS 6%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 6%. Fixed in 3.8.
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).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| needrestart | <3.8 | 3.8 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket