{"id":"CVE-2025-4598","published":"2025-05-30T13:13:26Z","modified":"2026-11-05T15:46:53Z","title":"Systemd-coredump: race condition that allows a local attacker to crash a suid program and gain read access to the…","vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","tier":"tail","description":{"text":"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.\n\nA 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01277,"percentile":0.70673,"provenance":"source"},"cwes":[{"id":"CWE-364","name":"Signal Handler Race Condition"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:22660","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:22868","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:23227","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:23234","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:0414","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:1652","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:18153","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-4598","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2369242","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://www.openwall.com/lists/oss-security/2025/05/29/3","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/06/05/1","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/06/05/3","tags":[]},{"url":"https://www.openwall.com/lists/oss-security/2025/08/18/3","tags":[]},{"url":"https://blogs.oracle.com/linux/post/analysis-of-cve-2025-4598","tags":[]},{"url":"https://ciq.com/blog/the-real-danger-of-systemd-coredump-cve-2025-4598/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00022.html","tags":[]},{"url":"http://seclists.org/fulldisclosure/2025/Jun/9","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/08/18/3","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":14.13},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 252.37",">= 253.0, < 253.32",">= 254.0, < 254.25",">= 255.0, < 255.19",">= 256.0, < 256.14",">= 257.0, < 257.6"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Discovery 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Discovery 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Insights proxy 1.5","versions":["all versions"]}],"workarounds":{"items":["This issue can be mitigated by disabling the capability of the system to generate a coredump for SUID binaries. The perform that, the following command can be ran as `root` user: ~~~ echo 0 > /proc/sys/fs/suid_dumpable ~~~ While this mitigates this vulnerability while it's not possible to update the systemd package, it disables the capability of analyzing crashes for such binaries."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-30T13:43:28.420360Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-16486","exploited":false,"provenance":"source"},"detections":{"cveRules":[{"title":"Potential Exploitation of CVE-2025-5054 or CVE-2025-4598","id":"33b3cfb1-574e-44b9-b527-fbf9303b9d7b","level":"medium","status":"experimental","path":"rules-emerging-threats/2025/Exploits/CVE_2025_4598/proc_creation_lnx_exploit_cve_2025_5054_or_cve_2025_4598.yml","url":"https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2025/Exploits/CVE_2025_4598/proc_creation_lnx_exploit_cve_2025_5054_or_cve_2025_4598.yml","techniques":["T1548","T1003"]}]}}