CVEfocus › CVE database › CVE-2023-26604

CVE-2023-26604

CVSS 7.8 HighEPSS 0.8% (higher than 54% of CVEs)Published 2023-03-03Updated 2026-10-14Assigner: mitre

systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible sudoers files in which the "systemctl status" command may be executed. Specifically, systemd does not set LESSSECURE to 1, and thus other programs may be launched from the less program. This presents a substantial security risk when running systemctl from Sudo, because less executes as root when the terminal size is too small to show the complete systemctl output.

CWE-269

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

20Fixed
4Fix pending
17Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04systemdNot affected
vulnerable_code_not_present
Ubuntu 25.10systemdNot affected
vulnerable_code_not_present
Ubuntu 24.04systemdNot affected
vulnerable_code_not_present
Ubuntu 22.04systemdNot affected
vulnerable_code_not_present
Ubuntu 20.04systemdFix pendingUBUNTU-CVE-2023-26604
Ubuntu 18.04systemdFix pendingUBUNTU-CVE-2023-26604
Ubuntu 16.04systemdFix pendingUBUNTU-CVE-2023-26604
Ubuntu 14.04systemdFix pendingUBUNTU-CVE-2023-26604
Debian 14systemdFixed247.1-2DEBIAN-CVE-2023-26604
Debian 13systemdFixed247.1-2DEBIAN-CVE-2023-26604
Debian 12systemdFixed247.1-2DEBIAN-CVE-2023-26604
Red Hat Enterprise Linux 9rhel-net-naming-sysattrsNot affected
Red Hat Enterprise Linux 9systemdNot affected
Red Hat Enterprise Linux 9systemd-boot-unsignedNot affected
Red Hat Enterprise Linux 9systemd-containerNot affected
Red Hat Enterprise Linux 9systemd-develNot affected
Red Hat Enterprise Linux 9systemd-journal-remoteNot affected
Red Hat Enterprise Linux 9systemd-libsNot affected
Red Hat Enterprise Linux 9systemd-oomdNot affected
Red Hat Enterprise Linux 9systemd-pamNot affected
Red Hat Enterprise Linux 9systemd-resolvedNot affected
Red Hat Enterprise Linux 9systemd-rpm-macrosNot affected
Red Hat Enterprise Linux 9systemd-udevNot affected
Red Hat Enterprise Linux 9systemd-ukifyNot affected
Red Hat Enterprise Linux 8systemdFixed0:239-74.el8_8.2RHSA-2023:3837
Red Hat Enterprise Linux 8systemd-containerFixed0:239-74.el8_8.2RHSA-2023:3837
Red Hat Enterprise Linux 8systemd-develFixed0:239-74.el8_8.2RHSA-2023:3837
Red Hat Enterprise Linux 8systemd-journal-remoteFixed0:239-74.el8_8.2RHSA-2023:3837
Red Hat Enterprise Linux 8systemd-libsFixed0:239-74.el8_8.2RHSA-2023:3837
Red Hat Enterprise Linux 8systemd-pamFixed0:239-74.el8_8.2RHSA-2023:3837
Red Hat Enterprise Linux 8systemd-testsFixed0:239-74.el8_8.2RHSA-2023:3837
Red Hat Enterprise Linux 8systemd-udevFixed0:239-74.el8_8.2RHSA-2023:3837
AlmaLinux 8systemdFixed239-74.el8_8.2ALSA-2023:3837
AlmaLinux 8systemd-containerFixed239-74.el8_8.2ALSA-2023:3837
AlmaLinux 8systemd-develFixed239-74.el8_8.2ALSA-2023:3837
AlmaLinux 8systemd-journal-remoteFixed239-74.el8_8.2ALSA-2023:3837
AlmaLinux 8systemd-libsFixed239-74.el8_8.2ALSA-2023:3837
AlmaLinux 8systemd-pamFixed239-74.el8_8.2ALSA-2023:3837
AlmaLinux 8systemd-testsFixed239-74.el8_8.2ALSA-2023:3837
AlmaLinux 8systemd-udevFixed239-74.el8_8.2ALSA-2023:3837
Rocky Linux 8systemdFixed0:239-74.el8_8.2RLSA-2023:3837

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.