{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-82457",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-08-29T13:23:00.303Z",
        "datePublished": "2026-08-29T13:47:58.176Z",
        "dateUpdated": "2026-08-29T13:47:58.176Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-08-29T13:47:58.176Z"
            },
            "datePublic": "2026-08-27T00:00:00.000Z",
            "title": "su-exec through 0.3 Privilege Escalation via Numeric User ID",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Incorrect Conversion between Numeric Types",
                            "cweId": "CWE-681",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "ncopa",
                    "product": "su-exec",
                    "collectionURL": "https://github.com/ncopa/su-exec",
                    "repo": "https://github.com/ncopa/su-exec",
                    "versions": [
                        {
                            "version": "0",
                            "lessThanOrEqual": "0.3",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 8.5,
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/ncopa/su-exec/blob/89c016e6e08749d583efdeda04b9f73e1218e253/su-exec.c",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "Vulnerable code: su-exec.c (strtol into uid_t without range check)"
                },
                {
                    "url": "https://gist.github.com/thesmartshadow/ed96e2a88643c34a247c9b7cf9e311be",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "name": "Reporter's write-up"
                },
                {
                    "url": "https://github.com/ncopa/su-exec",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: su-exec through 0.3 Privilege Escalation via Numeric User ID",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/su-exec-through-0.3-privilege-escalation-via-numeric-user-id"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Ali Firas",
                    "type": "reporter"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}