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.

— IBM

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

32 affected componentsFixes available
systemd systemd-coredump
Microsoft cbl2 kernel 5.15.186.1-1
Microsoft azl3 systemd 255-24
Microsoft azl3 kernel 6.6.96.2-1
Microsoft azl3 systemd 255-23
Microsoft cbl2 systemd 250.3-23
Microsoft cbl2 systemd 250.3-22
Microsoft azl3 systemd 255-22
IBM Netezza Software<=11.3.0.3-IF2
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
ubuntu/systemd<245.4-4ubuntu3.24+esm1
245.4-4ubuntu3.24+esm1
ubuntu/systemd<249.11-0ubuntu3.16
249.11-0ubuntu3.16
ubuntu/systemd<255.4-1ubuntu8.8
255.4-1ubuntu8.8
debian/systemd<252.38-1~deb12u1
252.38-1~deb12u1
debian/systemd<257.6-1
257.6-1
debian/systemd<257.6-1
257.6-1
debian/systemd
247.3-7+deb11u7252.38-1~deb12u1257.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/systemd to a version that resolves this vulnerability.

    Fixed in 245.4-4ubuntu3.24+esm1
  2. Upgrade

    Upgrade ubuntu/systemd to a version that resolves this vulnerability.

    Fixed in 249.11-0ubuntu3.16
  3. Upgrade

    Upgrade ubuntu/systemd to a version that resolves this vulnerability.

    Fixed in 255.4-1ubuntu8.8
  4. Upgrade

    Upgrade debian/systemd to a version that resolves this vulnerability.

    Fixed in 252.38-1~deb12u1
  5. Upgrade

    Upgrade debian/systemd to a version that resolves this vulnerability.

    Fixed in 257.6-1
  6. Upgrade

    Upgrade debian/systemd to a version that resolves this vulnerability.

    Fixed in 247.3-7+deb11u7Fixed in 252.38-1~deb12u1Fixed in 257.6-1
  7. 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
Exploit Published
via CISA·01:43 PM
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
May 31, 2025
News Published
via The Hacker News·10:19 AM
Aug 12, 2025
Data Sourced
via NVD·07:59 PM
Affected Software
Aug 27, 2025
Updated
via NVD·05:16 PM
Affected Software
Sep 3, 2025
Data Sourced
via Microsoft·10:03 PM
DescriptionSeverityWeaknessAffected Software
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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