CVE-2025-4598

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
4.7 MEDIUM
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
redhatCNA
4.7 MEDIUM
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CISA-ADPADP
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 10%
VendorProductVersion
systemd_projectsystemd
𝑥
< 252.37
systemd_projectsystemd
253 ≤
𝑥
< 253.32
systemd_projectsystemd
254 ≤
𝑥
< 254.25
systemd_projectsystemd
255 ≤
𝑥
< 255.19
systemd_projectsystemd
256 ≤
𝑥
< 256.14
systemd_projectsystemd
257 ≤
𝑥
< 257.6
redhatopenshift_container_platform
4.0
redhatenterprise_linux
7.0
redhatenterprise_linux
8.0
redhatenterprise_linux
9.0
redhatenterprise_linux
10.0
debiandebian_linux
11.0
debiandebian_linux
12.0
linuxlinux_kernel
𝑥
< 6.16
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
systemd
bullseye
vulnerable
bullseye (security)
247.3-7+deb11u7
fixed
bookworm
vulnerable
bookworm (security)
252.38-1~deb12u1
fixed
trixie
257.7-1
fixed
forky
258~rc3-1
fixed
sid
258~rc3-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
systemd
plucky
Fixed 257.4-1ubuntu3.1
released
oracular
Fixed 256.5-2ubuntu3.3
released
noble
Fixed 255.4-1ubuntu8.8
released
jammy
Fixed 249.11-0ubuntu3.16
released
focal
Fixed 245.4-4ubuntu3.24+esm1
released
bionic
not-affected
xenial
not-affected
trusty
not-affected