{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.3"
              },
              {
                "fixed": "0.3"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "89c016e6e08749d583efdeda04b9f73e1218e253"
            }
          ],
          "repo": "https://github.com/ncopa/su-exec",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-681"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82457.json"
  },
  "details": "su-exec through 0.3 fails to validate numeric user and group identifiers parsed with strtol before assigning to uid_t and gid_t, allowing truncation of out-of-range values to zero. Attackers can supply large numeric identifiers that truncate to root's identifier, causing su-exec to execute target programs with root privileges instead of intended unprivileged accounts.",
  "id": "CVE-2026-82457",
  "modified": "2026-09-02T03:30:42.111016033Z",
  "published": "2026-08-29T13:47:58.176Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://gist.github.com/thesmartshadow/ed96e2a88643c34a247c9b7cf9e311be"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82457.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-82457"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/su-exec-through-0.3-privilege-escalation-via-numeric-user-id"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ncopa/su-exec"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ncopa/su-exec/blob/89c016e6e08749d583efdeda04b9f73e1218e253/su-exec.c"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "su-exec through 0.3 Privilege Escalation via Numeric User ID"
}