# CVE-2021-3982: Linux distributions using CAPSYSNICE for gnome-shell may be exposed to a privilege escalation issue.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2022-04-29T00:00:00.000Z
- Modified: 2026-06-17T04:06:20.230Z
- Weaknesses: CWE-273
- Assigned by: redhat

## Description

Linux distributions using CAP_SYS_NICE for gnome-shell may be exposed to a privilege escalation issue. An attacker, with low privilege permissions, may take advantage of the way CAP_SYS_NICE is currently implemented and eventually load code to increase its process scheduler priority leading to possible DoS of other services running in the same machine.

(As written by CVE List.)

## Affected

- gnome-shell: gnome-shell downstream versions using CAP_SYS_NICE
- gnome gnome-shell: no versions given

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2284> (issue-tracking, patch, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2060> (issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3982](https://www.cve.org/CVERecord?id=CVE-2021-3982), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3982](https://nvd.nist.gov/vuln/detail/CVE-2021-3982), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3982 · Whole record: https://cve.day/CVE-2021-3982.json · Rebuilt by cve.day 2026-11-25T22:58:07.429Z
