CVE-2025-4598
4.7 MEDIUMA vulnerability was found in systemd-coredump
Published: 2025-05-30 · Last updated: 2026-05-19
Severity and scoring
- CVSS
- 4.7 MEDIUM
- Vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- CWE
- CWE-364
Affected products
| Vendor | Product |
|---|---|
| debian | debian_linux, enterprise_linux, linux |
| linux | debian_linux, enterprise_linux, linux |
| oracle | debian_linux, enterprise_linux, linux |
| redhat | debian_linux, enterprise_linux, linux |
| systemd_project | debian_linux, enterprise_linux, linux |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2025-4598
- [Other]https://access.redhat.com/errata/RHSA-2025:22660
- [Other]https://access.redhat.com/errata/RHSA-2025:22868
- [Other]https://access.redhat.com/errata/RHSA-2025:23227
- [Other]https://access.redhat.com/errata/RHSA-2025:23234
- [Other]https://access.redhat.com/errata/RHSA-2026:0414
- [Other]https://access.redhat.com/errata/RHSA-2026:1652
- [Other]https://access.redhat.com/errata/RHSA-2026:18153
- [Vendor advisory]https://access.redhat.com/security/cve/CVE-2025-4598
- [Other]https://bugzilla.redhat.com/show_bug.cgi?id=2369242
- [Other]https://www.openwall.com/lists/oss-security/2025/05/29/3
- [Other]http://seclists.org/fulldisclosure/2025/Jun/9
- [Other]http://www.openwall.com/lists/oss-security/2025/06/05/1
- [Other]http://www.openwall.com/lists/oss-security/2025/06/05/3
- [Other]http://www.openwall.com/lists/oss-security/2025/08/18/3
- [Exploit reference]https://blogs.oracle.com/linux/post/analysis-of-cve-2025-4598
- [Exploit reference]https://ciq.com/blog/the-real-danger-of-systemd-coredump-cve-2025-4598/
- [Other]https://lists.debian.org/debian-lts-announce/2025/07/msg00022.html
- [Other]https://www.openwall.com/lists/oss-security/2025/08/18/3
- [Other]https://cert-portal.siemens.com/productcert/html/ssa-082556.html
Related CVEs
Same vendor
- CVE-2026-49975 — Memory Allocation with Excessive Size Value vulnerability in Apache HTTP Server's mod_http leads to denial of service via malicious HTTP ... (7.5 HIGH)
- CVE-2026-50259 — A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland (7.8 HIGH)
- CVE-2026-50258 — A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland (7.8 HIGH)
- CVE-2026-50257 — A use-after-free flaw was found in the X.Org X server and Xwayland in miSyncDestroyFence() (7.8 HIGH)
- CVE-2026-50256 — A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland (7.8 HIGH)
Same CWE
- CVE-2026-42002 — Concurrency and locking defects in GSS-TSIG (5.9 MEDIUM)
- CVE-2026-33565 — in OpenHarmony v6.0 and prior versions allow a local attacker cause DOS (3.3 LOW)
- CVE-2026-27766 — in OpenHarmony v6.0 and prior versions allow a local attacker cause information leak (5.5 MEDIUM)
- CVE-2026-24792 — in OpenHarmony v6.0 and prior versions allow a remote attacker arbitrary code execution in pre-installed apps (8.1 HIGH)