Skip to content

CVE-2025-4598 Systemd-coredump: race condition that allows a local attacker to crash a suid program and gain read access to the resulting core dump

MediumCVSS 4.7 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
azure linux systemd(Azure Linux:3.0) All versions No fix listed
cbl-mariner systemd(CBL-Mariner:2.0) < 250.3-23 250.3-23
azure linux kernel(Azure Linux:3.0) All versions No fix listed
cbl-mariner kernel(CBL-Mariner:2.0) All versions No fix listed
azure linux systemd(Azure Linux:3.0) < 255-24 255-24
debian/systemd(Debian:12) < 252.38-1~deb12u1 252.38-1~deb12u1
debian/systemd(Debian:12) = 252.11-1 No fix listed
debian/systemd(Debian:12) = 252.11-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.12-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.14-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.16-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.17-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.18-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.19-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.20-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.21-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.22-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.23-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.24-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.25-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.26-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.26-1~deb12u2 No fix listed
debian/systemd(Debian:12) = 252.26-1~deb12u2~bpo11+1 No fix listed
debian/systemd(Debian:12) = 252.27-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.28-1~deb12u1 No fix listed
Show 54 more
ProductAffected versionsFixed in
debian/systemd(Debian:12) = 252.29-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.29-1~deb12u1~bpo11+1 No fix listed
debian/systemd(Debian:12) = 252.30-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.30-1~deb12u2 No fix listed
debian/systemd(Debian:12) = 252.31-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.32-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.33-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.36-1~deb12u1 No fix listed
debian/systemd(Debian:12) = 252.6-1 No fix listed
debian/systemd(Debian:12) = 252.6-1+loong64 No fix listed
debian/systemd(Debian:13) < 257.6-1 257.6-1
debian/systemd(Debian:14) < 257.6-1 257.6-1
systemd-coredump < 252.37 252.37
systemd-coredump >= 253.0, < 253.32 253.32
systemd-coredump >= 254.0, < 254.25 254.25
systemd-coredump >= 255.0, < 255.19 255.19
systemd-coredump >= 256.0, < 256.14 256.14
systemd-coredump >= 257.0, < 257.6 257.6
redhat enterprise linux < 0:257-23.el10 0:257-23.el10
redhat enterprise linux < 0:252-55.el9_7.7 0:252-55.el9_7.7
redhat ceph storage < 7 7
redhat ceph storage < 8 8
redhat ceph storage < 1769512383 1769512383
redhat discovery < 1767888970 1767888970
redhat discovery < 1767904573 1767904573
redhat insights proxy < 1.5.9-1765201856 1.5.9-1765201856
redhat enterprise linux = 10 No fix listed
redhat rhel els = 7 No fix listed
redhat rhel els All versions No fix listed
redhat enterprise linux All versions No fix listed
redhat enterprise linux = 9 No fix listed
redhat openshift = 4 No fix listed
redhat openshift All versions No fix listed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.5 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.5 No fix listed
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.5 No fix listed
ubuntu/systemd(Ubuntu:22.04) < 249.11-0ubuntu3.16 249.11-0ubuntu3.16
ubuntu/systemd(Ubuntu:24.04) < 255.4-1ubuntu8.8 255.4-1ubuntu8.8
systemd project systemd < 252.37 252.37
systemd project systemd >= 253, < 253.32 253.32
systemd project systemd >= 254, < 254.25 254.25
systemd project systemd >= 255, < 255.19 255.19
systemd project systemd >= 256, < 256.14 256.14
systemd project systemd >= 257, < 257.6 257.6
redhat openshift container platform = 4.0 No fix listed
redhat enterprise linux = 7.0 No fix listed
redhat enterprise linux = 8.0 No fix listed
redhat enterprise linux = 9.0 No fix listed
redhat enterprise linux = 10.0 No fix listed
debian linux = 11.0 No fix listed
debian linux = 12.0 No fix listed
oracle linux = 8 No fix listed
oracle linux = 9 No fix listed
Linux kernel < 6.16 6.16

References