CVE-2016-7076: sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C…
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.46% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: sudo (Debian:12) 1.8.18p1-1; sudo (Debian:7) 1.8.5p2-1+nmu3+deb7u2; sudo (openSUSE:Tumbleweed) 1.9.7p2-1.4.
Low priority for now. Upgrade to sudo (Debian:12) 1.8.18p1-1; sudo (Debian:7) 1.8.5p2-1+nmu3+deb7u2; sudo (openSUSE:Tumbleweed) 1.9.7p2-1.4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 29, 2018
- Updated
- Jun 16, 2026
- EPSS
- 0.4% · 40th percentile
- CWE
- CWE-184
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CNA vs NVD score
- NVD
- 7.8
- CNA · redhat
- 6.4
- 1.4 point gap
CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| sudo project | sudo | cpe:2.3:a:sudo_project:sudo |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
[UNKNOWN] sudo
- sudo 1.8.18p1affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- sudo project sudo1.6.8 and later · up to 1.8.18 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | sudo | before 1.8.18p1-1 | 1.8.18p1-1 |
| Debian:7 | sudo | before 1.8.5p2-1+nmu3+deb7u2 | 1.8.5p2-1+nmu3+deb7u2 |
| openSUSE:Tumbleweed | sudo | before 1.9.7p2-1.4 | 1.9.7p2-1.4 |
| Red Hat:enterprise_linux:6::client | sudo | before 0:1.8.6p3-25.el6_8 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::client | sudo-debuginfo | before 0:1.8.6p3-25.el6_8 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:6::client | sudo-devel | before 0:1.8.6p3-25.el6_8 | 0:1.8.6p3-25.el6_8 |
| Red Hat:enterprise_linux:7::client | sudo | before 0:1.8.6p7-21.el7_3 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::client | sudo-debuginfo | before 0:1.8.6p7-21.el7_3 | 0:1.8.6p7-21.el7_3 |
| Red Hat:enterprise_linux:7::client | sudo-devel | before 0:1.8.6p7-21.el7_3 | 0:1.8.6p7-21.el7_3 |
| SUSE:Linux Enterprise Desktop 12 SP1 | sudo | before 1.8.10p3-2.6.1 | 1.8.10p3-2.6.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | sudo | before 1.8.10p3-8.1 | 1.8.10p3-8.1 |
| SUSE:Linux Enterprise Server 11 SP4 | sudo | before 1.7.6p2-0.29.1 | 1.7.6p2-0.29.1 |
Same product
sudo project: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-3156Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root…KEV91Now
- CVE-2025-32463Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf from a user-controlled directory is used with the…KEV78This week
- CVE-2019-14287In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules…54Plan
Published before and after this one in the same product
- ← EarlierCVE-2017-1000368Jun 5, 2017 · Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) in the get_process_ttyname()…32Monitor
- ← EarlierCVE-2015-8239Oct 10, 2017 · The SHA-2 digest support in the sudoers plugin in sudo after 1.8.7 allows local users with write permissions to parts of the called command…28Monitor
- Later →CVE-2019-18684Nov 4, 2019 · Sudo through 1.8.29 allows local users to escalate to root if they have write access to file descriptor 3 of the sudo process.28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:sudo | 1.8.18p1-1 · Debian:12 | Package registry (OSV) |
| opensuse:sudo | 1.9.7p2-1.4 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:sudo | 0:1.8.6p3-25.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:sudo-debuginfo | 0:1.8.6p3-25.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:sudo-devel | 0:1.8.6p3-25.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:sudo | 1.7.6p2-0.29.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-184 · Incomplete List of Disallowed InputsCVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Double EncodingCAPEC-120likelihood: Low · Medium
- Command DelimitersCAPEC-15likelihood: High · High
- Flash InjectionCAPEC-182likelihood: High · Medium
- Using Leading 'Ghost' Character Sequences to Bypass Input FiltersCAPEC-3likelihood: Medium · Medium
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- Using Unicode Encoding to Bypass Validation LogicCAPEC-71likelihood: Medium · High
- User-Controlled FilenameCAPEC-73likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.