CVE-2026-82457
su-exec through 0.3 Privilege Escalation via Numeric User ID
- State
- Published
- Severity
- 8.5 High
- Published
- Aug 29, 2026
- Updated
- Sep 24, 2026
- Reserved
- Aug 29, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.5 High | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-681 Incorrect Conversion between Numeric Types
Affected Products
| Product | Versions |
|---|---|
su-execncopa |
|
References
- Vulnerable code: su-exec.c (strtol into uid_t without range check)technical-description
- Reporter's write-upthird-party-advisory
- https://github.com/ncopa/su-execproduct
- VulnCheck Advisory: su-exec through 0.3 Privilege Escalation via Numeric User IDthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.