Home / Needrestart Project / Needrestart / CVE-2022-30688
CVE-2022-30688: is it exploited, and which versions of Needrestart Project Needrestart are affected and fixed?
CVE-2022-30688 is a vulnerability in Needrestart Project 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, 13:38 UTC). Affected: needrestart from 0.8 before 3.6, debian linux 9.0, debian linux 10.0 and 1 more (NVD). Fixed in 3.6 (NVD). Severity: High (7.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2022-30688?
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.
From the CVE record by mitre, last updated November 3, 2025, 21:46 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| needrestart project | needrestart | from 0.8 before 3.6 | application |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:44 UTC.
How severe is CVE-2022-30688?
| 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 | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
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-2022-30688 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 35.9 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://github.com/liske/needrestart/releases/tag/v3.6 x_refsource_MISC
- https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30 x_refsource_MISC
- https://lists.debian.org/debian-security-announce/2022/msg00105.html x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2022/05/17/9 x_refsource_MISC
- [oss-security] 20220517 CVE-2022-30688: needrestart 0.8+ local privilege escalation mailing-list, x_refsource_MLIST
- DSA-5137 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20220518 [SECURITY] [DLA 3013-1] needrestart security update mailing-list, x_refsource_MLIST
- http://seclists.org/fulldisclosure/2024/Nov/17
- http://seclists.org/fulldisclosure/2024/Nov/15
When was it published, and where is the official record?
- Reserved
- May 13, 2022
- Published
- May 17, 2022, 18:58 UTC
- CVE record updated
- November 3, 2025, 21:46 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:44 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2022-30688
Is CVE-2022-30688 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Needrestart Project Needrestart are affected by CVE-2022-30688?
needrestart from 0.8 before 3.6, debian linux 9.0, debian linux 10.0 and debian linux 11.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2022-30688?
3.6, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-30688?
High (7.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-30688?
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.