{"id":"UBUNTU-CVE-2016-7076","details":"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.","modified":"2026-02-04T03:11:20.681181Z","published":"2018-05-29T00:00:00Z","related":["USN-3968-1","USN-3968-3"],"upstream":["CVE-2016-7076"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-7076"},{"type":"REPORT","url":"https://www.sudo.ws/alerts/noexec_wordexp.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3968-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3968-3"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-7076"}],"affected":[{"package":{"name":"sudo","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.8.9p5-1ubuntu1.5+esm5?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.9p5-1ubuntu1.5+esm5"}]}],"versions":["1.8.6p3-0ubuntu3","1.8.8-2ubuntu1","1.8.8-2ubuntu2","1.8.9p4-1ubuntu1","1.8.9p4-1ubuntu2","1.8.9p5-1ubuntu1","1.8.9p5-1ubuntu1.1","1.8.9p5-1ubuntu1.2","1.8.9p5-1ubuntu1.3","1.8.9p5-1ubuntu1.4","1.8.9p5-1ubuntu1.5+esm1","1.8.9p5-1ubuntu1.5+esm2","1.8.9p5-1ubuntu1.5+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.9p5-1ubuntu1.5+esm5","binary_name":"sudo"},{"binary_version":"1.8.9p5-1ubuntu1.5+esm5","binary_name":"sudo-ldap"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7076.json"}},{"package":{"name":"sudo","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.8.16-0ubuntu1.6?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.16-0ubuntu1.6"}]}],"versions":["1.8.12-1ubuntu3","1.8.16-0ubuntu1","1.8.16-0ubuntu1.1","1.8.16-0ubuntu1.2","1.8.16-0ubuntu1.3","1.8.16-0ubuntu1.4","1.8.16-0ubuntu1.5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.16-0ubuntu1.6","binary_name":"sudo"},{"binary_version":"1.8.16-0ubuntu1.6","binary_name":"sudo-ldap"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7076.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}