CVE-2025-4598 Race condition in Red Hat Ceph Storage 7
A local attacker can exploit a race condition in systemd-coredump to read sensitive data from crashed SUID processes, such as /etc/shadow.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-4598?
CVE-2025-4598 is a medium-severity vulnerability in Debian Debian Linux, published on 30 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-364
Which versions are affected by CVE-2025-4598?
It affects 6 products.
Linux distribution packages (40)
rhel-net-naming-sysattrs AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-boot-unsigned AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-container AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-devel AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-journal-remote AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-libs AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-oomd AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-pam AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-resolved AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-rpm-macros AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-udev AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd-ukify AlmaLinux:9 | All versions | 252-55.el9_7.7.alma.1 |
systemd Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-boot-unsigned Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-container Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-container-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-debugsource Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-devel Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-journal-remote Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-journal-remote-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-libs Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-libs-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-oomd Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-oomd-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-pam Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-pam-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-resolved Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-resolved-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-rpm-macros Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-tests-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-udev Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-udev-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-ukify Red Hat:enterprise_linux:10.2 | All versions | 0:257-23.el10 |
systemd-boot-unsigned Red Hat:enterprise_linux:9::appstream | All versions | 0:252-55.el9_7.7 |
systemd-boot-unsigned-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:252-55.el9_7.7 |
systemd-container-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:252-55.el9_7.7 |
systemd-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:252-55.el9_7.7 |
systemd-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:252-55.el9_7.7 |
Products include Debian Debian Linux, Linux kernel, Oracle Linux, Redhat Enterprise Linux, Redhat Openshift Container Platform, Systemd Project Systemd.
How do I fix CVE-2025-4598?
Apply the vendor's patch.
Is CVE-2025-4598 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4598 exists.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALSA-2025:22660, AZL-64289, AZL-64292, AZL-66702, AZL-66704, CLSA-2025-1766079368 and 26 more.