In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege drop before running the mailer, is not a fatal error and can lead to privilege escalation.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35535.json",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"fixed": "3e474c2f201484be83d994ae10a4e20e8c81bb69"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"fixed": "3e474c2"
}
]
}
],
"cwe_ids": [
"CWE-271"
],
"cna_assigner": "mitre"
}{
"cpe": [
"cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*",
"cpe:2.3:a:sudo_project:sudo:1.9.17:-:*:*:*:*:*:*",
"cpe:2.3:a:sudo_project:sudo:1.9.17:p1:*:*:*:*:*:*",
"cpe:2.3:a:sudo_project:sudo:1.9.17:p2:*:*:*:*:*:*"
],
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.9.17"
},
{
"last_affected": "1.9.17-NA"
},
{
"last_affected": "1.9.17-p1"
},
{
"last_affected": "1.9.17-p2"
}
]
}