Vulnerability · Published May 30, 2025 · Assigned by redhat

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

Medium 4.7

In plain English

A medium-severity security flaw in systemd-coredump. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.7Medium
Exploit odds (30 days)1.3%top 29.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9rhel-net-naming-sysattrs252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-boot-unsigned252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-container252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-devel252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-journal-remote252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-libs252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-oomd252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-pam252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-resolved252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-rpm-macros252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-udev252-55.el9_7.7.alma.1ALSA-2025:22660
AlmaLinux:9systemd-ukify252-55.el9_7.7.alma.1ALSA-2025:22660
Debian:12systemd252.38-1~deb12u1DEBIAN-CVE-2025-4598
Debian:12systemd252.38-1~deb12u1DSA-5931-1
Debian:13systemd257.6-1DEBIAN-CVE-2025-4598
Debian:14systemd257.6-1DEBIAN-CVE-2025-4598
Rocky Linux:10systemd0:257-23.el10_2.1.rocky.0.1RLSA-2026:18153
Rocky Linux:9systemd0:252-55.el9_7.7.rocky.0.1RLSA-2025:22660
Ubuntu:22.04:LTSsystemd249.11-0ubuntu3.16UBUNTU-CVE-2025-4598
Ubuntu:22.04:LTSsystemd249.11-0ubuntu3.16USN-7559-1
Ubuntu:24.04:LTSsystemd255.4-1ubuntu8.8USN-7559-1
Ubuntu:24.04:LTSsystemd255.4-1ubuntu8.8UBUNTU-CVE-2025-4598

Affected products (as reported)

VendorProductVersions
systemd-coredump 0 – before 252.37253.0 – before 253.32254.0 – before 254.25255.0 – before 255.19256.0 – before 256.14257.0 – before 257.6
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Ceph Storage 7 see references
Red Hat Red Hat Ceph Storage 8 see references
Red Hat Red Hat Ceph Storage 8 see references
Red Hat Red Hat Discovery 2 see references
Red Hat Red Hat Discovery 2 see references
Red Hat Red Hat Insights proxy 1.5 see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat OpenShift Container Platform 4 see references
Red Hat Red Hat OpenShift Container Platform 4 see references
Red Hat Red Hat OpenShift Container Platform 4 see references

Weakness: CWE-364 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

References