Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-7076
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:16 UTC · Revision 1

Source evidence

CVE-2016-7076

core-osv · Original source

Published 29 May 2018, 13:29 UTC

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.

osv:CVE-2016-7076
Complete source record
{
  "id": "2b859491d9347cbd393c3a3662457aa9c7c26e93ad393b54ffca1b33b15da678",
  "url": "https://osv.dev/vulnerability/CVE-2016-7076",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-7076",
    "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.",
    "evidence": "osv:CVE-2016-7076",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2016-7076",
      "aliases": [
        "CVE-2016-7076"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/millert/sudo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0c0dcf2e3294cc022a4f6af52986cfca2b9be05a"
                },
                {
                  "last_affected": "ccdb84c0bf2a8daef2dc960f65fc9e6f1b83ccaf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.6.8"
                      },
                      {
                        "last_affected": "1.8.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "SUDO_1_8_18",
            "SUDO_1_8_17p1",
            "SUDO_1_8_17",
            "SUDO_1_8_16",
            "SUDO_1_8_15",
            "SUDO_1_8_14p3",
            "SUDO_1_8_14p1",
            "SUDO_1_8_14",
            "SUDO_1_8_13",
            "SUDO_1_8_12",
            "SUDO_1_8_11p2",
            "SUDO_1_8_11p1",
            "SUDO_1_8_11",
            "SUDO_1_8_10p3",
            "SUDO_1_8_10p2",
            "SUDO_1_8_10p1",
            "SUDO_1_8_10",
            "SUDO_1_8_9p5",
            "SUDO_1_8_9p4",
            "SUDO_1_8_9p3",
            "SUDO_1_8_9p2",
            "SUDO_1_8_9p1",
            "SUDO_1_8_9",
            "SUDO_1_8_8",
            "SUDO_1_8_7",
            "SUDO_1_8_6p8",
            "SUDO_1_8_6p7",
            "SUDO_1_8_6p6",
            "SUDO_1_8_6p5",
            "SUDO_1_8_6p4",
            "SUDO_1_8_6p3",
            "SUDO_1_8_6p2",
            "SUDO_1_8_6p1",
            "SUDO_1_8_6",
            "SUDO_1_8_5p3",
            "SUDO_1_8_5p2",
            "SUDO_1_8_5p1",
            "SUDO_1_8_5",
            "SUDO_1_8_4p5",
            "SUDO_1_8_4p4",
            "SUDO_1_8_4p3",
            "SUDO_1_8_4p2",
            "SUDO_1_8_4p1",
            "SUDO_1_8_4",
            "SUDO_1_8_3",
            "SUDO_1_8_2",
            "SUDO_1_8_1",
            "SUDO_1_8_0",
            "SUDO_1_7_2",
            "SUDO_1_7_1",
            "SUDO_1_7_0",
            "SUDO_1_6_8p1",
            "SUDO_1_6_8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7076.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/sudo-project/sudo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0c0dcf2e3294cc022a4f6af52986cfca2b9be05a"
                },
                {
                  "last_affected": "ccdb84c0bf2a8daef2dc960f65fc9e6f1b83ccaf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.6.8"
                      },
                      {
                        "last_affected": "1.8.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.8.18",
            "SUDO_1_8_18",
            "v1.8.17p1",
            "SUDO_1_8_17p1",
            "v1.8.17",
            "SUDO_1_8_17",
            "v1.8.16",
            "SUDO_1_8_16",
            "v1.8.15",
            "SUDO_1_8_15",
            "v1.8.14p3",
            "SUDO_1_8_14p3",
            "v1.8.14p1",
            "SUDO_1_8_14p1",
            "v1.8.14",
            "SUDO_1_8_14",
            "v1.8.13",
            "SUDO_1_8_13",
            "v1.8.12",
            "SUDO_1_8_12",
            "v1.8.11p2",
            "SUDO_1_8_11p2",
            "v1.8.11p1",
            "SUDO_1_8_11p1",
            "v1.8.11",
            "SUDO_1_8_11",
            "v1.8.10p3",
            "SUDO_1_8_10p3",
            "v1.8.10p2",
            "SUDO_1_8_10p2",
            "v1.8.10p1",
            "SUDO_1_8_10p1",
            "v1.8.10",
            "SUDO_1_8_10",
            "v1.8.9p5",
            "SUDO_1_8_9p5",
            "v1.8.9p4",
            "SUDO_1_8_9p4",
            "v1.8.9p3",
            "SUDO_1_8_9p3",
            "v1.8.9p2",
            "SUDO_1_8_9p2",
            "v1.8.9p1",
            "SUDO_1_8_9p1",
            "v1.8.9",
            "SUDO_1_8_9",
            "v1.8.8",
            "SUDO_1_8_8",
            "v1.8.7",
            "SUDO_1_8_7",
            "v1.8.6p8",
            "SUDO_1_8_6p8",
            "v1.8.6p7",
            "SUDO_1_8_6p7",
            "v1.8.6p6",
            "SUDO_1_8_6p6",
            "v1.8.6p5",
            "SUDO_1_8_6p5",
            "v1.8.6p4",
            "SUDO_1_8_6p4",
            "v1.8.6p3",
            "SUDO_1_8_6p3",
            "v1.8.6p2",
            "SUDO_1_8_6p2",
            "v1.8.6p1",
            "SUDO_1_8_6p1",
            "v1.8.6",
            "SUDO_1_8_6",
            "v1.8.5p3",
            "SUDO_1_8_5p3",
            "v1.8.5p2",
            "SUDO_1_8_5p2",
            "v1.8.5p1",
            "SUDO_1_8_5p1",
            "v1.8.5",
            "SUDO_1_8_5",
            "v1.8.4p5",
            "SUDO_1_8_4p5",
            "v1.8.4p4",
            "SUDO_1_8_4p4",
            "v1.8.4p3",
            "SUDO_1_8_4p3",
            "v1.8.4p2",
            "SUDO_1_8_4p2",
            "v1.8.4p1",
            "SUDO_1_8_4p1",
            "v1.8.4",
            "SUDO_1_8_4",
            "v1.8.3",
            "SUDO_1_8_3",
            "v1.8.2",
            "SUDO_1_8_2",
            "v1.8.1",
            "SUDO_1_8_1",
            "v1.8.0",
            "SUDO_1_8_0",
            "v1.7.2",
            "SUDO_1_7_2",
            "v1.7.1",
            "SUDO_1_7_1",
            "v1.7.0",
            "SUDO_1_7_0",
            "v1.6.8p1",
            "SUDO_1_6_8p1",
            "v1.6.8",
            "SUDO_1_6_8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7076.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:16.280033464Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/3968-1/",
        "https://usn.ubuntu.com/3968-3/",
        "https://security.netapp.com/advisory/ntap-20181127-0002/",
        "https://www.sudo.ws/alerts/noexec_wordexp.html",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-7076"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-7076",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429317,
  "published_at": "2018-05-29T13:29:00.21+00:00"
}