CVE-2026-82457
su-exec through 0.3 Privilege Escalation via Numeric User ID
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-681 |
| Vendor | ncopa |
| Product | su-exec |
| Published | Aug 29, 2026 |
Stay Ahead of the Next One
Get instant alerts for ncopa su-exec
Be the first to know when new high vulnerabilities affecting ncopa su-exec are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
ncopa / su-exec
0 โค 0.3
References
github.com: https://github.com/ncopa/su-exec/blob/89c016e6e08749d583efdeda04b9f73e1218e253/su-exec.c gist.github.com: https://gist.github.com/thesmartshadow/ed96e2a88643c34a247c9b7cf9e311be github.com: https://github.com/ncopa/su-exec vulncheck.com: https://www.vulncheck.com/advisories/su-exec-through-0.3-privilege-escalation-via-numeric-user-id
Credits
๐ Ali Firas