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

Published May 29, 2025
·
Updated

A race condidition in systemd-coredump allows a local attacker to crash a SUID program and gain read access to the resulting core dump

Other sources

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.

MITRE

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

Microsoft

Affected Software

25 affected componentsFixes available
systemd systemd-coredump
Microsoft cbl2 kernel 5.15.186.1-1
Microsoft azl3 systemd 255-24
Microsoft cbl2 systemd 250.3-22
Microsoft azl3 kernel 6.6.96.2-1
Microsoft azl3 systemd 255-23
Microsoft cbl2 systemd 250.3-23
Microsoft azl3 systemd 255-22
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
IBM API Connect V12 OnPrem<=All

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Mitigate the systemd-coredump race condition by preventing local unprivileged users from being able to trigger crashes of SUID programs that would cause systemd-coredump to create/parse core dumps (e.g., restrict who can execute/trigger the relevant SUID binaries and limit access to the coredump handling path via OS permissions/ACLs).

Event History

May 29, 2025
Data Sourced
via Red Hat·07:07 PM
DescriptionSeverityAffected Software
May 30, 2025
CVE Published
via MITRE·01:13 PM
Data Sourced
via MITRE·01:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Sep 3, 2025
Data Sourced
via Microsoft·10:03 PM
DescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Updated
via Microsoft·05:03 AM
SeverityAffected Software
Updated
via Microsoft·05:03 AM
Description
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-4598?

CVE-2025-4598 has a high severity rating due to the potential for local attackers to exploit the vulnerability to gain unauthorized access.

2

How do I fix CVE-2025-4598?

To fix CVE-2025-4598, update systemd-coredump to the latest version provided by your distribution that addresses this vulnerability.

3

Who is affected by CVE-2025-4598?

CVE-2025-4598 affects systems running the vulnerable versions of systemd-coredump, specifically those that employ SUID programs.

4

What is the impact of CVE-2025-4598?

The impact of CVE-2025-4598 includes the ability for local attackers to crash SUID programs and potentially access sensitive core dumps.

5

Is CVE-2025-4598 being actively exploited?

As of now, there haven't been any confirmed active exploits for CVE-2025-4598, but it is advisable to apply mitigation measures promptly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203