CVE-2025-4598
Last modified
CVE-2025-4598 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Systemd Project | Systemd | < 252.37 |
| Systemd Project | Systemd | >= 253, < 253.32 |
| Systemd Project | Systemd | >= 254, < 254.25 |
| Systemd Project | Systemd | >= 255, < 255.19 |
| Systemd Project | Systemd | >= 256, < 256.14 |
| Systemd Project | Systemd | >= 257, < 257.6 |
| Redhat | Openshift Container Platform | 4.0 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Redhat | Enterprise Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Debian | Debian Linux | 12.0 |
| Oracle | Linux | 8 |
| Oracle | Linux | 9 |
| Linux | Linux Kernel | < 6.16 |
References
- https://access.redhat.com/security/cve/CVE-2025-4598Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2369242Issue Tracking
- https://blogs.oracle.com/linux/post/analysis-of-cve-2025-4598Exploit, Third Party Advisory
- https://ciq.com/blog/the-real-danger-of-systemd-coredump-cve-2025-4598/Exploit, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2025/08/18/3Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-4598?
How severe is CVE-2025-4598?
How do I fix CVE-2025-4598?
Are you affected by CVE-2025-4598?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
