{"id":"CVE-2026-82457","summary":"su-exec through 0.3 Privilege Escalation via Numeric User ID","details":"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.","modified":"2026-09-02T03:30:42.111016033Z","published":"2026-08-29T13:47:58.176Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82457.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-681"]},"references":[{"type":"ADVISORY","url":"https://gist.github.com/thesmartshadow/ed96e2a88643c34a247c9b7cf9e311be"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82457.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82457"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/su-exec-through-0.3-privilege-escalation-via-numeric-user-id"},{"type":"PACKAGE","url":"https://github.com/ncopa/su-exec"},{"type":"ARTICLE","url":"https://github.com/ncopa/su-exec/blob/89c016e6e08749d583efdeda04b9f73e1218e253/su-exec.c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ncopa/su-exec","events":[{"introduced":"0"},{"fixed":"89c016e6e08749d583efdeda04b9f73e1218e253"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.3"},{"fixed":"0.3"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v0.2","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82457.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}