CVE-2025-4598

Medium

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.

SeverityMedium
CVSS4.7
Exploit probability—
ProductSystemd
PublishedMay 30, 2025
First seenMay 30, 2025
Weakness typeCWE-364CWE-364

How to fix

Affected products

ProductAffected versionsFixed in
systemd_project systemdv < 252.37, 253 ≤ v < 253.32, 254 ≤ v < 254.25, 255 ≤ v < 255.19, 256 ≤ v < 256.14, 257 ≤ v < 257.6252.37, 253.32, 254.25, 255.19, 256.14, 257.6
redhat openshift_container_platform4.0—
redhat enterprise_linux7.0, 8.0, 9.0, 10.0—
debian debian_linux11.0, 12.0—
oracle linux8, 9—
linux linux_kernelv < 6.166.16

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.