What’s Vulnerable › Vulnerabilities
CVE-2026-82457: su-exec through 0.3 Privilege Escalation via Numeric User ID
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-29 · updated 2026-09-23
- Weakness: CWE-681
Description
su-exec through 0.3 fails to validate numeric user and group identifiers parsed with strtol before assigning to uid_t and gid_t, allowing truncation of out-of-range values to zero. Attackers can supply large numeric identifiers that truncate to root's identifier, causing su-exec to execute target programs with root privileges instead of intended unprivileged accounts.
Affected products
- ncopa su-exec: through 0.3
References
- https://gist.github.com/thesmartshadow/ed96e2a88643c34a247c9b7cf9e311be
- https://github.com/ncopa/su-exec
- https://github.com/ncopa/su-exec/blob/89c016e6e08749d583efdeda04b9f73e1218e253/su-exec.c
- https://www.vulncheck.com/advisories/su-exec-through-0.3-privilege-escalation-via-numeric-user-id
- https://gist.github.com/thesmartshadow/ed96e2a88643c34a247c9b7cf9e311be
Get alerted when CVE-2026-82457 or the next vulnerability affects your stack