CVE-2026-82457
published high CVSS 4.0 · 8.5su-exec through 0.3 Privilege Escalation via Numeric User ID
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ncopa | — | su-exec0 through 0.3 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ncopa | su-exec | 0 through 0.3 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-681 Incorrect Conversion between Numeric Types
References
4- Reporter's write-up https://gist.github.com/thesmartshadow/ed96e2a88643c34a247c9b7cf9e311be
- https://github.com/ncopa/su-exec
- Vulnerable code: su-exec.c (strtol into uid_t without range check) https://github.com/ncopa/su-exec/blob/89c016e6e08749d583efdeda04b9f73e1218e253/su-exec.c
- VulnCheck Advisory: su-exec through 0.3 Privilege Escalation via Numeric User ID https://www.vulncheck.com/advisories/su-exec-through-0.3-privilege-escalation-via-numeric-user-id
Provider assertions
2VulnCheck · cna
su-exec through 0.3 Privilege Escalation via Numeric User ID
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ceff61645f003ce4cb366a344087322a23de3caee52c452490ba4ed13005c5af
- Ingested
- 30 Sep 2026, 15:34:00 UTC
- Source record
- Official CVE record