Skip to content
Fencer Intel
medium 6.4

CVE-2016-7076 json

sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C libr…

published 2018-05-29 8 y ago modified 2026-06-17 4 mo ago also EUVD-2016-7956

cvss
6.4
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 40%
public exploits
0
none known

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.

Patch / fix

  • sudo Debian 14, Debian 13, Debian 12 1.8.18p1-1

debian advisories DEBIAN-CVE-2016-7076

  • sudo Ubuntu 16.04 LTS 1.8.16-0ubuntu1.6
  • sudo Ubuntu Pro 14.04 LTS 1.8.9p5-1ubuntu1.5+esm5

ubuntu advisories UBUNTU-CVE-2016-7076

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • sudo RHEL 6 1.8.6p3-25.el6_8
  • sudo RHEL 7 1.8.6p7-21.el7_3

red hat advisories RHSA-2016:2872

  • sudo SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 1.8.10p3-2.6.1
  • sudo SLES for SAP 11 SP4, SLES 11 SP4 1.7.6p2-0.29.1
  • sudo SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +2 more 1.8.10p3-8.1

suse advisories SUSE-SU-2016:2904-1SUSE-SU-2016:2891-1SUSE-SU-2016:2893-1

  • sudo openSUSE Tumbleweed 1.9.7p2-1.4

opensuse advisories openSUSE-SU-2024:11413-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-7076 updated cvss 6.4

sudo: noexec bypass via wordexp()

  • Red Hat Enterprise Linux 5 sudo
    affected: no fix planned “Will not fix”
  • 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, sudo-debuginfo 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, sudo-debuginfo 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, sudo-debuginfo 1.8.6p3-25.el6_8
    +10 more products
    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, sudo-debuginfo 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-debuginfo 1.8.6p3-25.el6_8 Red Hat Enterprise Linux Server Optional (v. 7) sudo-devel 1.8.6p7-21.el7_3, sudo-debuginfo 1.8.6p7-21.el7_3 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, sudo-debuginfo 1.8.6p3-25.el6_8 Red Hat Enterprise Linux Workstation Optional (v. 7) sudo-devel 1.8.6p7-21.el7_3, sudo-debuginfo 1.8.6p7-21.el7_3
    fixed: vendor fix RHSA-2016:2872

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.0 6.4 CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • [UNKNOWN] sudo

Classification

Weakness
  • CWE-184 Incomplete List of Disallowed Inputs
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.