needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation.
Priority LOW 34Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation. Regexes to detect the Perl, Python, and Ruby interpreters are not anchored, allowing a local user to escalate privileges when needrestart tries to detect if interpreters are using old source files.
Why it matters now
EPSS 0.00396 34th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:* | 0.8 to before 3.6 | Vulnerable | needrestart |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
- cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:* Versions 0.8 to before 3.6 Vulnerable ·needrestart
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-30688
- 2026-10-03 Alias added: GHSA-6qgc-vw4g-mxw4
References
Advisory 6
- https://github.com/liske/needrestart/releases/tag/v3.6
- https://lists.debian.org/debian-security-announce/2022/msg00105.html
- https://www.openwall.com/lists/oss-security/2022/05/17/9
- [oss-security] 20220517 CVE-2022-30688: needrestart 0.8+ local privilege escalation
- DSA-5137
- [debian-lts-announce] 20220518 [SECURITY] [DLA 3013-1] needrestart security update
Sources
- CVE-2022-30688 · CVE Program
- CVE-2022-30688 · NVD
- FIRST EPSS
- GHSA-6qgc-vw4g-mxw4 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-30688 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences