Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Systemd Project | Systemd | < 252.37 |
| Redhat | Openshift Container Platform | 4.0 |
| Redhat | Enterprise Linux | 7.0 |
| Debian | Debian Linux | 11.0 |
| Oracle | Linux | 8 |
| Linux | Linux Kernel | < 6.16 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2025:22660
- https://access.redhat.com/errata/RHSA-2025:22868
- https://access.redhat.com/errata/RHSA-2025:23227
- https://access.redhat.com/errata/RHSA-2025:23234
- https://access.redhat.com/errata/RHSA-2026:0414
- https://access.redhat.com/errata/RHSA-2026:1652
- https://access.redhat.com/errata/RHSA-2026:18153
- https://access.redhat.com/security/cve/CVE-2025-4598Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2369242Issue Tracking
- https://www.openwall.com/lists/oss-security/2025/05/29/3Mailing List
- http://seclists.org/fulldisclosure/2025/Jun/9
- http://www.openwall.com/lists/oss-security/2025/06/05/1Mailing List
- http://www.openwall.com/lists/oss-security/2025/06/05/3Mailing List
- http://www.openwall.com/lists/oss-security/2025/08/18/3
- https://blogs.oracle.com/linux/post/analysis-of-cve-2025-4598ExploitThird Party Advisory
FAQ
What is CVE-2025-4598?
CVE-2025-4598 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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,...
How severe is CVE-2025-4598?
CVE-2025-4598 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-4598?
Check the references section above for vendor advisories and patch information. Affected products include: Systemd Project Systemd, Redhat Openshift Container Platform, Redhat Enterprise Linux, Debian Debian Linux, Oracle Linux.