CVEvulnerability
CVE-2025-4598
4.7 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-05-30
- Last modified
- 2026-09-01
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- 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.
Affected configurations
• 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)
Related
Weakness · CWE (1)
- CWE-364 Signal Handler Race Condition weakness
References
- https://access.redhat.com/errata/RHSA-2025:22660 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:22868 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23227 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23234 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:0414 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:1652 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:18153 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2025-4598 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2369242 Issue Tracking
- https://www.openwall.com/lists/oss-security/2025/05/29/3 Mailing List
- http://seclists.org/fulldisclosure/2025/Jun/9 seclists.org
- http://www.openwall.com/lists/oss-security/2025/06/05/1 Mailing List
- http://www.openwall.com/lists/oss-security/2025/06/05/3 Mailing List
- http://www.openwall.com/lists/oss-security/2025/08/18/3 www.openwall.com
- https://blogs.oracle.com/linux/post/analysis-of-cve-2025-4598 Exploit, Third Party Advisory
- https://ciq.com/blog/the-real-danger-of-systemd-coredump-cve-2025-4598/ Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/07/msg00022.html lists.debian.org
- https://www.openwall.com/lists/oss-security/2025/08/18/3 Mailing List, Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html cert-portal.siemens.com