CVE-2025-4598
Systemd-coredump: race condition that allows a local attacker to crash a suid program and gain read access to the resulting core dump
Mitigation
- Upgrade systemd-coredump to 257.6 or later.
- Vendor workaround: 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.
Who should check
- Anyone running systemd-coredump < 252.37; >= 253.0, < 253.32; >= 254.0, < 254.25; >= 255.0, < 255.19; >= 256.0, < 256.14; >= 257.0, < 257.6
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 9 all versions
- Anyone running Red Hat Ceph Storage 7 all versions
- Anyone running Red Hat Ceph Storage 8 all versions
- Anyone running Red Hat Discovery 2 all versions
- Anyone running Red Hat Insights proxy 1.5 all versions
- Anyone running Red Hat Enterprise Linux 10 (versions: see the vendor advisory)
Vulnerability facts
- Affected
- systemd-coredump < 252.37; >= 253.0, < 253.32; >= 254.0, < 254.25; >= 255.0, < 255.19; >= 256.0, < 256.14; >= 257.0, < 257.6; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Ceph Storage 7 all versions; Red Hat Ceph Storage 8 all versions; Red Hat Ceph Storage 8 all versions; Red Hat Discovery 2 all versions; Red Hat Discovery 2 all versions; Red Hat Insights proxy 1.5 all versions; Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9; Red Hat OpenShift Container Platform 4; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 4
- Fixed in
- systemd-coredump 252.37, systemd-coredump 253.32, systemd-coredump 254.25, systemd-coredump 255.19, systemd-coredump 256.14, systemd-coredump 257.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.45% chance of exploitation in 30 days (percentile 31, 2026-11-26)
- CWE
- CWE-364
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| systemd-coredump | < 252.37; >= 253.0, < 253.32; >= 254.0, < 254.25; >= 255.0, < 255.19; >= 256.0, < 256.14; >= 257.0, < 257.6 | — | cvelist |
| Red Hat Enterprise Linux 10 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | all versions | — | cvelist |
| Red Hat Ceph Storage 7 | all versions | — | cvelist |
| Red Hat Ceph Storage 8 | all versions | — | cvelist |
| Red Hat Ceph Storage 8 | all versions | — | cvelist |
| Red Hat Discovery 2 | all versions | — | cvelist |
| Red Hat Discovery 2 | all versions | — | cvelist |
| Red Hat Insights proxy 1.5 | all versions | — | cvelist |
| Red Hat Enterprise Linux 10 | — | — | cvelist |
| Red Hat Enterprise Linux 10 | — | — | cvelist |
| Red Hat Enterprise Linux 7 | — | — | cvelist |
| Red Hat Enterprise Linux 7 | all versions | — | cvelist |
| Red Hat Enterprise Linux 8 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | — | — | cvelist |
| Red Hat OpenShift Container Platform 4 | — | — | cvelist |
| Red Hat OpenShift Container Platform 4 | all versions | — | cvelist |
| Red Hat OpenShift Container Platform 4 | — | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-4598. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-4598.md Affected: systemd-coredump < 252.37; >= 253.0, < 253.32; >= 254.0, < 254.25; >= 255.0, < 255.19; >= 256.0, < 256.14; >= 257.0, < 257.6; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Ceph Storage 7 all versions; Red Hat Ceph… Fixed in: systemd-coredump 252.37, systemd-coredump 253.32, systemd-coredump 254.25, systemd-coredump 255.19, systemd-coredump 256.14, systemd-coredump 257.6 Steps: 1. Search this machine and project for systemd-coredump, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat Ceph Storage 7, Red Hat Ceph Storage 8, Red Hat Discovery 2: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2025:22660
- https://access.redhat.com/errata/RHSA-2025:22868
- https://access.redhat.com/errata/RHSA-2025:23227
- https://access.redhat.com/errata/RHSA-2025:23234
- https://access.redhat.com/errata/RHSA-2026:0414
- https://access.redhat.com/errata/RHSA-2026:1652
- https://access.redhat.com/errata/RHSA-2026:18153
- https://access.redhat.com/security/cve/CVE-2025-4598
Exploits and PoCs
Other
- https://bugzilla.redhat.com/show_bug.cgi?id=2369242
- https://www.openwall.com/lists/oss-security/2025/05/29/3
- http://www.openwall.com/lists/oss-security/2025/06/05/1
- http://www.openwall.com/lists/oss-security/2025/06/05/3
- https://www.openwall.com/lists/oss-security/2025/08/18/3
- https://lists.debian.org/debian-lts-announce/2025/07/msg00022.html
- http://seclists.org/fulldisclosure/2025/Jun/9
- http://www.openwall.com/lists/oss-security/2025/08/18/3
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
FAQ
Is CVE-2025-4598 being exploited?
There is no confirmed exploitation: CVE-2025-4598 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-4598?
Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-4598?
systemd-coredump < 252.37; >= 253.0, < 253.32; >= 254.0, < 254.25; >= 255.0, < 255.19; >= 256.0, < 256.14; >= 257.0, < 257.6; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Ceph Storage 7 all versions; Red Hat Ceph Storage 8 all versions; Red Hat Ceph Storage 8 all versions; Red Hat Discovery 2 all versions; Red Hat Discovery 2 all versions; Red Hat Insights proxy 1.5 all versions; Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9; Red Hat OpenShift Container Platform 4; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 4.
Is there a fix for CVE-2025-4598?
Yes. Fixed in systemd-coredump 252.37, systemd-coredump 253.32, systemd-coredump 254.25, systemd-coredump 255.19, systemd-coredump 256.14, systemd-coredump 257.6. Upgrade systemd-coredump to 257.6 or later. Vendor workaround: 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.
How do I check if I'm affected by CVE-2025-4598?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.