# CVE-2026-82457: su-exec through 0.3 Privilege Escalation via Numeric User ID

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-29T13:47:58.176Z
- Modified: 2026-09-24T14:20:31.868Z
- Weaknesses: CWE-681
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- ncopa su-exec: up to 0.3

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gist.github.com/thesmartshadow/ed96e2a88643c34a247c9b7cf9e311be> (exploit, third-party-advisory)
- <https://github.com/ncopa/su-exec/blob/89c016e6e08749d583efdeda04b9f73e1218e253/su-exec.c> (technical-description)
- <https://github.com/ncopa/su-exec> (product)
- <https://www.vulncheck.com/advisories/su-exec-through-0.3-privilege-escalation-via-numeric-user-id> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-82457](https://www.cve.org/CVERecord?id=CVE-2026-82457), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-82457](https://nvd.nist.gov/vuln/detail/CVE-2026-82457), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-82457 · Whole record: https://cve.day/CVE-2026-82457.json · Rebuilt by cve.day 2026-11-25T22:59:35.745Z
