Systemd-coredump: race condition that allows a local attacker to crash a suid program and gain read access to the resulting core dump

Summary

CVECVE-2025-4598
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-05-30 14:15:23 UTC
Updated2026-05-12 13:17:21 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 4.7 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem Types: CWE-364 | CWE-364 Signal Handler Race Condition


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
3.1CNACVSS4.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Systemd Project Systemd All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:252-55.el9_7.7 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:252-55.el9_7.7 * rpm Not specified
CNA Red Hat Red Hat Ceph Storage 7 unaffected sha256:cfaf2a3c9513bd280265b0e2ca5f7d60022a2e362027becfeb2c133179925523 * rpm Not specified
CNA Red Hat Red Hat Ceph Storage 8 unaffected sha256:b09eb0a1d99e655de562919ded095bbb5dc65961e341a54ea59ad99b55ca9b1b * rpm Not specified
CNA Red Hat Red Hat Ceph Storage 8 unaffected sha256:97a60239048123bc963d7c9ac2ad85caa6a254759e44c15f173ca12ea51e4719 * rpm Not specified
CNA Red Hat Red Hat Discovery 2 unaffected sha256:d4e8987a100ea60942306f1564679e51fa1364f6124fbfb3100959f83a1f16bf * rpm Not specified
CNA Red Hat Red Hat Discovery 2 unaffected sha256:899bd7f941512d54af8ab369ca03028a7d27d05887ccce24bc12c7ccd3e4dbee * rpm Not specified
CNA Red Hat Red Hat Insights Proxy 1.5 unaffected sha256:1d72e553fe5a7696e600dc8fd2fe9050ba1992fa190bea622134ca7bfce7bb0d * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4 Not specified Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2025:22660 [email protected] access.redhat.com
www.openwall.com/lists/oss-security/2025/06/05/3 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List
www.openwall.com/lists/oss-security/2025/08/18/3 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
www.openwall.com/lists/oss-security/2025/06/05/1 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List
seclists.org/fulldisclosure/2025/Jun/9 af854a3a-2127-422b-91ae-364da2661108 seclists.org
ciq.com/blog/the-real-danger-of-systemd-coredump-cve-2025-4598 af854a3a-2127-422b-91ae-364da2661108 ciq.com Exploit, Third Party Advisory
cert-portal.siemens.com/productcert/html/ssa-082556.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
access.redhat.com/errata/RHSA-2026:1652 [email protected] access.redhat.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com Issue Tracking
access.redhat.com/errata/RHSA-2025:23234 [email protected] access.redhat.com
www.openwall.com/lists/oss-security/2025/08/18/3 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
access.redhat.com/errata/RHSA-2025:22868 [email protected] access.redhat.com
lists.debian.org/debian-lts-announce/2025/07/msg00022.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
blogs.oracle.com/linux/post/analysis-of-cve-2025-4598 af854a3a-2127-422b-91ae-364da2661108 blogs.oracle.com Exploit, Third Party Advisory
access.redhat.com/security/cve/CVE-2025-4598 [email protected] access.redhat.com Vendor Advisory
www.openwall.com/lists/oss-security/2025/05/29/3 [email protected] www.openwall.com Mailing List
access.redhat.com/errata/RHSA-2025:23227 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:0414 [email protected] access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2025-05-29T19:04:54.578ZReported to Red Hat.
CNA2025-05-29T00:00:00.000ZMade public.

Workarounds

CNA: 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report