CVEfocus › CVE database › CVE-2025-4598

CVE-2025-4598Systemd-coredump: race condition that allows a local attacker to crash a suid program…

CVSS 4.7 MediumEPSS 0.5% (higher than 31% of CVEs)Published 2025-05-30Updated 2026-11-24Assigner: redhat

A vulnerability was found in systemd-coredump. This flaw allows an attacker to force a SUID process to crash and replace it with a non-SUID binary to access the original's privileged process coredump, allowing the attacker to read sensitive data, such as /etc/shadow content, loaded by the original process. A SUID binary or process has a special type of permission, which allows the process to run with the file owner's permissions, regardless of the user executing the binary. This allows the process to access more restricted data than unprivileged users or processes would be able to. An attacker can leverage this flaw by forcing a SUID process to crash and force the Linux kernel to recycle the process PID before systemd-coredump can analyze the /proc/pid/auxv file. If the attacker wins the race condition, they gain access to the original's SUID process coredump file. They can read sensitive content loaded into memory by the original binary, affecting data confidentiality.

CWE-364

What to do

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

Red Hat, Ubuntu have 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

45Fixed
19Fix pending
48Not 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 24.04systemdFixed255.4-1ubuntu8.8UBUNTU-CVE-2025-4598
Ubuntu 22.04systemdFixed249.11-0ubuntu3.16UBUNTU-CVE-2025-4598
Ubuntu 20.04systemdFix pending245.4-4ubuntu3.24+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-4598
Debian 14systemdFixed257.6-1DEBIAN-CVE-2025-4598
Debian 13systemdFixed257.6-1DEBIAN-CVE-2025-4598
Debian 12systemdFixed252.38-1~deb12u1DEBIAN-CVE-2025-4598
Red Hat Enterprise Linux 10NetworkManagerNot affected
Red Hat Enterprise Linux 10NetworkManager-adslNot affected
Red Hat Enterprise Linux 10NetworkManager-bluetoothNot affected
Red Hat Enterprise Linux 10NetworkManager-cloud-setupNot affected
Red Hat Enterprise Linux 10NetworkManager-config-connectivity-redhatNot affected
Red Hat Enterprise Linux 10NetworkManager-config-serverNot affected
Red Hat Enterprise Linux 10NetworkManager-libnmNot affected
Red Hat Enterprise Linux 10NetworkManager-libnm-develNot affected
Red Hat Enterprise Linux 10NetworkManager-ovsNot affected
Red Hat Enterprise Linux 10NetworkManager-pppNot affected
Red Hat Enterprise Linux 10NetworkManager-tuiNot affected
Red Hat Enterprise Linux 10NetworkManager-wifiNot affected
Red Hat Enterprise Linux 10NetworkManager-wwanNot affected
Red Hat Enterprise Linux 10rpm-ostreeNot affected
Red Hat Enterprise Linux 10rpm-ostree-libsNot affected
Red Hat Enterprise Linux 10systemdFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-boot-unsignedFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-containerFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-develFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-journal-remoteFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-libsFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-oomdFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-pamFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-resolvedFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-rpm-macrosFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-udevFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 10systemd-ukifyFixed0:257-23.el10RHSA-2026:18153
Red Hat Enterprise Linux 9NetworkManagerNot affected
Red Hat Enterprise Linux 9NetworkManager-adslNot affected
Red Hat Enterprise Linux 9NetworkManager-bluetoothNot affected
Red Hat Enterprise Linux 9NetworkManager-cloud-setupNot affected
Red Hat Enterprise Linux 9NetworkManager-config-connectivity-redhatNot affected
Red Hat Enterprise Linux 9NetworkManager-config-serverNot affected
Red Hat Enterprise Linux 9NetworkManager-dispatcher-routing-rulesNot affected
Red Hat Enterprise Linux 9NetworkManager-initscripts-updownNot affected
Red Hat Enterprise Linux 9NetworkManager-libnmNot affected
Red Hat Enterprise Linux 9NetworkManager-libnm-develNot affected
Red Hat Enterprise Linux 9NetworkManager-ovsNot affected
Red Hat Enterprise Linux 9NetworkManager-pppNot affected
Red Hat Enterprise Linux 9NetworkManager-teamNot affected
Red Hat Enterprise Linux 9NetworkManager-tuiNot affected
Red Hat Enterprise Linux 9NetworkManager-wifiNot affected
Red Hat Enterprise Linux 9NetworkManager-wwanNot affected
Red Hat Enterprise Linux 9rhel-net-naming-sysattrsFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemdFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-boot-unsignedFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-containerFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-develFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-journal-remoteFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-libsFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-oomdFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-pamFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-resolvedFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-rpm-macrosFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-udevFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 9systemd-ukifyFixed0:252-55.el9_7.7RHSA-2025:22660
Red Hat Enterprise Linux 8systemdFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-containerFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-develFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-journal-remoteFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-pamFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-udevFix pending
Fix deferred
Red Hat Enterprise Linux 7NetworkManagerNot affected
Red Hat Enterprise Linux 7NetworkManager-adslNot affected
Red Hat Enterprise Linux 7NetworkManager-bluetoothNot affected
Red Hat Enterprise Linux 7NetworkManager-config-routing-rulesNot affected
Red Hat Enterprise Linux 7NetworkManager-config-serverNot affected
Red Hat Enterprise Linux 7NetworkManager-develNot affected
Red Hat Enterprise Linux 7NetworkManager-dispatcher-routing-rulesNot affected
Red Hat Enterprise Linux 7NetworkManager-glibNot affected
Red Hat Enterprise Linux 7NetworkManager-glib-develNot affected
Red Hat Enterprise Linux 7NetworkManager-libnmNot affected
Red Hat Enterprise Linux 7NetworkManager-libnm-develNot affected
Red Hat Enterprise Linux 7NetworkManager-ovsNot affected
Red Hat Enterprise Linux 7NetworkManager-pppNot affected
Red Hat Enterprise Linux 7NetworkManager-teamNot affected
Red Hat Enterprise Linux 7NetworkManager-tuiNot affected
Red Hat Enterprise Linux 7NetworkManager-wifiNot affected
Red Hat Enterprise Linux 7NetworkManager-wwanNot affected
Red Hat Enterprise Linux 7libgudev1Fix pending
Fix deferred
Red Hat Enterprise Linux 7libgudev1-develFix pending
Fix deferred
Red Hat Enterprise Linux 7systemdFix pending
Fix deferred
Red Hat Enterprise Linux 7systemd-develFix pending
Fix deferred
Red Hat Enterprise Linux 7systemd-journal-gatewayFix pending
Fix deferred
Red Hat Enterprise Linux 7systemd-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7systemd-networkdFix pending
Fix deferred
Red Hat Enterprise Linux 7systemd-pythonFix pending
Fix deferred
Red Hat Enterprise Linux 7systemd-resolvedFix pending
Fix deferred
Red Hat Enterprise Linux 7systemd-sysvFix pending
Fix deferred
AlmaLinux 9rhel-net-naming-sysattrsFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemdFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-boot-unsignedFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-containerFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-develFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-journal-remoteFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-libsFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-oomdFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-pamFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-resolvedFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-rpm-macrosFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-udevFixed252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux 9systemd-ukifyFixed252-55.el9_7.7.alma.1ALSA-2025:22660
Rocky Linux 10systemdFixed0:257-23.el10_2.1.rocky.0.1RLSA-2026:18153
Rocky Linux 9systemdFixed0:252-55.el9_7.7.rocky.0.1RLSA-2025:22660

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: This issue can be mitigated by disabling the capability of the system to generate a coredump for SUID binaries. The perform that, the following command can be ran as `root` user: ~~~ echo 0 > /proc/sys/fs/suid_dumpable ~~~ While this mitigates this vulnerability while it's not possible to update the systemd package, it disables the capability of analyzing crashes for such binaries.

Vendor advisories:

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.