cve.bz

CVE-2026-35535 Privilege Dropping / Lowering Errors

7.8 highEPSS 0.2%Fix available

High (7.8). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-271 Privilege Dropping / Lowering Errors
CWE-272 Least Privilege Violation
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-35535 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-35535?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-35535?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-35535 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sudo_project:sudobefore 1.9.17
sudo_project:sudo1.9.17
sudo_project:sudo1.9.17:p1
sudo_project:sudo1.9.17:p2
siemens:sinec_osbefore 4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11sudo1.9.5p2-3+deb11u4DLA-4614-1
Debian12sudo1.9.13p3-1+deb12u4DEBIAN-CVE-2026-35535
Debian13sudo1.9.16p2-3+deb13u2DEBIAN-CVE-2026-35535
Debian14sudo1.9.17p2-5DEBIAN-CVE-2026-35535
Ubuntu22.04:LTSsudo1.9.9-1ubuntu2.6UBUNTU-CVE-2026-35535
Ubuntu24.04:LTSsudo1.9.15p5-3ubuntu5.24.04.2UBUNTU-CVE-2026-35535
Ubuntu25.10sudo1.9.17p2-1ubuntu1.1UBUNTU-CVE-2026-35535
Red Hatenterprise_linux:8::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_10.5RHSA-2026:11521
Red Hatenterprise_linux:9::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.17p2-3.el9_8RHSA-2026:19220
Red Hatenterprise_linux:9::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-15.el9_7RHSA-2026:12310
Red Hatenterprise_linux:9::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.17p2-3.el9_8RHSA-2026:19220
Red Hatenterprise_linux:9::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.5p2-15.el9_7RHSA-2026:12310
Red Hatenterprise_linux:10.1sudo, sudo-debuginfo, sudo-debugsource and 2 more0:1.9.15-10.p5.el10_1RHSA-2026:10758
Red Hatenterprise_linux:10.2sudo, sudo-debuginfo, sudo-debugsource and 2 more0:1.9.17-4.p2.el10_2RHSA-2026:19067
Red Hatenterprise_linux_eus:10.0sudo, sudo-debuginfo, sudo-debugsource and 2 more0:1.9.15-8.p5.el10_0.3RHSA-2026:13888
Red Hathummingbird:1sudo, sudo-devel, sudo-logsrvd and 1 more0:1.9.17-16.p2.1.hum1RHSA-2026:65569
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_6.3RHSA-2026:14228
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_8.3RHSA-2026:13892
Red Hatrhel_e4s:9.0::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-7.el9_0.6RHSA-2026:13731
9 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 moresudo1.9.9-150400.4.42.1SUSE-SU-2026:1309-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 moresudo1.9.12p1-150500.7.16.1SUSE-SU-2026:1308-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6sudo1.9.15p5-150600.3.15.1SUSE-SU-2026:1359-1
SUSELinux Micro 6.1sudo1.9.15p5-slfo.1.1_3.1SUSE-SU-2026:21252-1
SUSELinux Micro 6.2sudo1.9.17p1-160000.3.1SUSE-SU-2026:21273-1
openSUSELeap 16.0sudo1.9.17p1-160000.3.1openSUSE-SU-2026:20604-1
openSUSETumbleweedsudo1.9.17p2-2.1openSUSE-SU-2026:10510-1
AlmaLinux8sudo1.9.5p2-1.el8_10.5ALSA-2026:11521
AlmaLinux9sudo, sudo-python-plugin1.9.17p2-3.el9_8ALSA-2026:19220
AlmaLinux9sudo, sudo-python-plugin1.9.5p2-15.el9_7ALSA-2026:12310
AlmaLinux10sudo, sudo-python-plugin1.9.15-10.p5.el10_1ALSA-2026:10758
AlmaLinux10sudo, sudo-python-plugin1.9.17-4.p2.el10_2ALSA-2026:19067
Rocky Linux8sudo0:1.9.5p2-1.el8_10.5RLSA-2026:11521
Rocky Linux9sudo0:1.9.17p2-3.el9_8RLSA-2026:19220
Rocky Linux9sudo0:1.9.5p2-15.el9_7RLSA-2026:12310
Rocky Linux10sudo0:1.9.15-10.p5.el10_1RLSA-2026:10758
Rocky Linux10sudo0:1.9.17-4.p2.el10_2RLSA-2026:19067
Azure Linux3sudo1.9.17-2AZL-81861
Alpaquita23sudo1.9.15_p5-r2BELL-CVE-2026-35535
Alpaquita25, streamsudo1.9.17_p2-r1BELL-CVE-2026-35535

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A flaw was found in Sudo, rated IMPORTANT by Red Hat, that can allow a local user to escalate privileges on systems running affected versions of the sudo package in Red Hat Enterprise Linux and in other affected Red Hat products such as OpenShift Container Platform 4. When Sudo needs to notify the system administrator by mail (for example, when it encounters an error while parsing /etc/sudoers), it drops its root privileges by calling setuid(), setgid(), and setgroups() before executing the mailer. In Sudo through 1.9.17p2, a failure of these privilege-drop calls was not treated as a fatal error, creating a fail-open condition in which the mailer could be executed with full root privileges instead of those of the invoking user. A local attacker who is able to cause these calls to fail, for example by using a Linux security module such as AppArmor to deny the CAP_SETUID capability to Sudo, could leverage this behavior, in combination with a mailer such as Postfix's sendmail, to execute arbitrary commands as root and gain full root privileges on the system. Red Hat rates this flaw CVSS 3.1 7.4 (AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), while NIST rates it 7.8 with low attack complexity; the higher Red Hat attack complexity reflects that exploitation requires an environment in which the privilege-drop syscalls fail, which is not the case in a default installation. Fedora is not affected because the vulnerable code is not present in its sudo packages. For the affected Red Hat products, fixes are being pursued and delivered through their standard update streams.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Users of affected Red Hat products should install the updated sudo packages available through their product's standard update channels.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10sudo-0:1.9.15-10.p5.el10_1Fixed 2026-04-27RHSA-2026:10758
Red Hat Enterprise Linux 10sudo-0:1.9.17-4.p2.el10_2Fixed 2026-05-19RHSA-2026:19067
Red Hat Enterprise Linux 10.0 Extended Update Supportsudo-0:1.9.15-8.p5.el10_0.3Fixed 2026-05-06RHSA-2026:13888
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONsudo-0:1.8.6p3-29.el6_10.8Fixed 2026-05-06RHSA-2026:13896
Red Hat Enterprise Linux 7 Extended Lifecycle Supportsudo-0:1.8.23-10.el7_9.5Fixed 2026-05-06RHSA-2026:13895
Red Hat Enterprise Linux 8sudo-0:1.9.5p2-1.el8_10.5Fixed 2026-04-29RHSA-2026:11521
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportsudo-0:1.9.5p2-1.el8_6.3Fixed 2026-05-06RHSA-2026:14228
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicesudo-0:1.9.5p2-1.el8_6.3Fixed 2026-05-06RHSA-2026:14228
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionssudo-0:1.9.5p2-1.el8_6.3Fixed 2026-05-06RHSA-2026:14228
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicesudo-0:1.9.5p2-1.el8_8.3Fixed 2026-05-06RHSA-2026:13892
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionssudo-0:1.9.5p2-1.el8_8.3Fixed 2026-05-06RHSA-2026:13892
Red Hat Enterprise Linux 9sudo-0:1.9.5p2-15.el9_7Fixed 2026-04-30RHSA-2026:12310
Red Hat Enterprise Linux 9sudo-0:1.9.17p2-3.el9_8Fixed 2026-05-19RHSA-2026:19220
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionssudo-0:1.9.5p2-7.el9_0.6Fixed 2026-05-05RHSA-2026:13731
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionssudo-0:1.9.5p2-9.el9_2.4Fixed 2026-05-06RHSA-2026:13891
Red Hat Enterprise Linux 9.4 Extended Update Supportsudo-0:1.9.5p2-10.el9_4.3Fixed 2026-05-06RHSA-2026:14437
Red Hat Enterprise Linux 9.6 Extended Update Supportsudo-0:1.9.5p2-10.el9_6.3Fixed 2026-05-06RHSA-2026:13889
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202605271418-0Fixed 2026-06-04RHSA-2026:21695
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202605271328-0Fixed 2026-06-04RHSA-2026:21690
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202606231112-0Fixed 2026-07-01RHSA-2026:28887
11 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-35535.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-188-05Siemens SINEC OS2026-06-02Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM RST2428P (6GK6242-6PA00)none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON