CVE-2026-82457
Received Received - Intake

su-exec Privilege Escalation via Truncated UID/GID

Vulnerability report for CVE-2026-82457, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-29

Last updated on: 2026-08-29

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-29
Last Modified
2026-08-29
Generated
2026-08-29
AI Q&A
2026-08-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
ncopa su-exec to 0.3 (inc)
ncopa su-exec to 0.2 (inc)
ncopa su-exec to 0.1 (inc)
ncopa su-exec 0.3
ncopa su-exec 0.1
ncopa su-exec 0.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-681 When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

su-exec through version 0.3 fails to validate numeric user and group identifiers parsed with strtol before assigning them to uid_t and gid_t. This allows large numeric values to truncate to zero, which corresponds to root's identifier. Attackers can exploit this to cause su-exec to execute programs with root privileges instead of intended unprivileged accounts.

Detection Guidance

Check if su-exec version 0.3 or earlier is installed by running: su-exec --version or ls -l $(which su-exec). Inspect the source code for improper strtol usage in su-exec.c, particularly where UID/GID parsing lacks range validation. Look for processes running with root privileges unexpectedly.

Impact Analysis

An attacker controlling runtime identity values (e.g., PUID/PGID) can bypass privilege drops, gaining root-level access within the container. This allows access to root-only files, writing to root-owned files, and performing privileged operations like chown. The impact is high as it undermines the intended privilege separation.

Compliance Impact

This vulnerability allows attackers to escalate privileges to root within containers, potentially bypassing intended access controls. For GDPR, this could lead to unauthorized access to personal data, violating principles of data protection and integrity. Under HIPAA, root access in healthcare systems might expose protected health information, violating security rules for electronic protected health information (ePHI).

Mitigation Strategies

Upgrade su-exec to the latest patched version immediately. If upgrading is not possible, replace strtol with strict unsigned parsing like strtoumax and add range checks for UID/GID values. Avoid using numeric IDs and switch to named user/group specifications where possible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-82457. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart