Command injection in [UNKNOWN] sudo
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-77.
Summary
sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C library function with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could possibly use this flaw to execute arbitrary commands with elevated privileges.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | sudo | sudo 1.8.18p1 | — | No fix listed | CNA |
- sudo Vendor[UNKNOWN] Affected sudo 1.8.18p1 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* | 1.6.8 – 1.8.18 | Vulnerable | Sudo project |
- cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* Versions 1.6.8 – 1.8.18 Vulnerable ·Sudo project
Remediation
Red Hat 1 advisory
- RHSA-2016:2872 Released 2016-12-06 · Red Hat rating Moderatesudo security update
- Red Hat Enterprise Linux Client (v. 7) sudo-1.8.6p7-21.el7_3
- Red Hat Enterprise Linux Client Optional (v. 7) sudo-devel-1.8.6p7-21.el7_3
- Red Hat Enterprise Linux ComputeNode (v. 7) sudo-1.8.6p7-21.el7_3
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) sudo-devel-1.8.6p7-21.el7_3
- Red Hat Enterprise Linux Desktop (v. 6) sudo-1.8.6p3-25.el6_8
- Red Hat Enterprise Linux Desktop Optional (v. 6) sudo-devel-1.8.6p3-25.el6_8
- Red Hat Enterprise Linux HPC Node (v. 6) sudo-1.8.6p3-25.el6_8
- Red Hat Enterprise Linux HPC Node Optional (v. 6) sudo-devel-1.8.6p3-25.el6_8
- Red Hat Enterprise Linux Server (v. 6) sudo-1.8.6p3-25.el6_8
- Red Hat Enterprise Linux Server (v. 7) sudo-1.8.6p7-21.el7_3
- Red Hat Enterprise Linux Server Optional (v. 6) sudo-devel-1.8.6p3-25.el6_8, sudo-devel-1.8.6p3-25.el6_8.ppc
- Red Hat Enterprise Linux Server Optional (v. 7) sudo-devel-1.8.6p7-21.el7_3, sudo-devel-1.8.6p7-21.el7_3.ppc
- Red Hat Enterprise Linux Workstation (v. 6) sudo-1.8.6p3-25.el6_8
- Red Hat Enterprise Linux Workstation (v. 7) sudo-1.8.6p7-21.el7_3
- Red Hat Enterprise Linux Workstation Optional (v. 6) sudo-devel-1.8.6p3-25.el6_8
- Red Hat Enterprise Linux Workstation Optional (v. 7) sudo-devel-1.8.6p7-21.el7_3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2016:2872 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:2872 |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-7076
- 2026-10-03 Alias added: GHSA-v56m-9vh5-5qh5
References
More Sudo project Sudo vulnerabilities
- TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
- TI-2021-02242 Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer… KEVCVSS 3.1HIGH 7.8
- TI-2019-10640 In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass… CVSS 3.1HIGH 8.8
- TI-2023-08978 In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed… CVSS 3.1HIGH 7.8
- TI-2019-13477 In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a… CVSS 3.1HIGH 7.8
- TI-2025-23529 Incorrect authorization in Sudo CVSS 3.1HIGH 8.8
Sources
- CVE-2016-7076 · CVE Program
- CVE-2016-7076 · NVD
- FIRST EPSS
- GHSA-v56m-9vh5-5qh5 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-7076 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences