CVE-2025-4598

MEDIUM
Published May 30, 2025 Modified May 12, 2026 CWE-364

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.

Is your site exposed to CVE-2025-4598?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

4.7
MEDIUM
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Weakness Type (CWE)

CWE-364 CWE-364

Affected Products

Vendor Product
systemd_project systemd
systemd_project systemd
systemd_project systemd
systemd_project systemd
systemd_project systemd
systemd_project systemd
redhat openshift_container_platform
redhat enterprise_linux
redhat enterprise_linux
redhat enterprise_linux
redhat enterprise_linux
debian debian_linux
debian debian_linux
oracle linux
oracle linux
linux linux_kernel

References

Frequently Asked Questions

What is CVE-2025-4598? +
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. It has a CVSS v3.1 base score of 4.7 (MEDIUM).
How severe is CVE-2025-4598? +
CVE-2025-4598 has a CVSS v3.1 score of 4.7 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2025-4598? +
CVE-2025-4598 affects products from debian, linux, oracle, redhat, systemd_project, specifically: debian_linux, enterprise_linux, linux, linux_kernel, openshift_container_platform, systemd. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-4598? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-4598 — free, no signup required.