# CVE-2019-19882: shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, and Void Linux, allows local users to obtain root access becaus…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2019-12-18T15:07:59.000Z
- Modified: 2026-06-17T02:27:23.433Z
- Weaknesses: CWE-732
- Assigned by: mitre

## Description

shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, and Void Linux, allows local users to obtain root access because setuid programs are misconfigured. Specifically, this affects shadow 4.8 when compiled using --with-libpam but without explicitly passing --disable-account-tools-setuid, and without a PAM configuration suitable for use with setuid account management tools. This combination leads to account management tools (groupadd, groupdel, groupmod, useradd, userdel, usermod) that can easily be used by unprivileged local users to escalate privileges to root in multiple ways. This issue became much more relevant in approximately December 2019 when an unrelated bug was fixed (i.e., the chmod calls to suidusbins were fixed in the upstream Makefile which is now included in the release version 4.8).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- shadow_project shadow: 4.8

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://bugs.archlinux.org/task/64836> (exploit, third-party-advisory)
- <https://bugs.gentoo.org/702252> (exploit, third-party-advisory)
- <https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75> (patch, third-party-advisory)
- <https://github.com/shadow-maint/shadow/pull/199> (patch, third-party-advisory)
- <https://github.com/void-linux/void-packages/pull/17580> (patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202008-09> (vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2019-19882 · Whole record: https://cve.day/CVE-2019-19882.json · Rebuilt by cve.day 2026-11-25T22:57:48.864Z
