CVE-2025-4598
mediumA vulnerability was found in systemd-coredump.
Vendor / product: Systemd Project — systemd
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:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://access.redhat.com/errata/RHSA-2025:22660 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:22868 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:23227 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:23234 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:0414 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:1652 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:18153 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2025-4598 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2369242 secalert@redhat.com
- https://www.openwall.com/lists/oss-security/2025/05/29/3 secalert@redhat.com
- http://seclists.org/fulldisclosure/2025/Jun/9 af854a3a-2127-422b-91ae-364da2661108
- http://www.openwall.com/lists/oss-security/2025/06/05/1 af854a3a-2127-422b-91ae-364da2661108
- http://www.openwall.com/lists/oss-security/2025/06/05/3 af854a3a-2127-422b-91ae-364da2661108
- http://www.openwall.com/lists/oss-security/2025/08/18/3 af854a3a-2127-422b-91ae-364da2661108
- https://blogs.oracle.com/linux/post/analysis-of-cve-2025-4598 af854a3a-2127-422b-91ae-364da2661108
- https://ciq.com/blog/the-real-danger-of-systemd-coredump-cve-2025-4598/ af854a3a-2127-422b-91ae-364da2661108
- https://lists.debian.org/debian-lts-announce/2025/07/msg00022.html af854a3a-2127-422b-91ae-364da2661108
- https://www.openwall.com/lists/oss-security/2025/08/18/3 af854a3a-2127-422b-91ae-364da2661108
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e

