CVE-2019-19882
mediumpriority · track · 31EPSS 0.005 · 43 %ileEUUSEPSS · scored 2026-10-24
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).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (21)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2019-19882cnnvd
- https://bugs.archlinux.org/task/64836cnnvd
- https://bugs.gentoo.org/702252cnnvd
- https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75cnnvd
- https://github.com/shadow-maint/shadow/pull/199cnnvd
- https://github.com/void-linux/void-packages/pull/17580cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-19882cnnvd
- https://packetstormsecurity.com/files/158956/Gentoo-Linux-Security-Advisory-202008-09.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan