cbcvebase.
CVE-2025-4598
published 2025-05-30

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…

medium4.7CVSS 3.1
AVLACHPRLUINSUCHINAN
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

28 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debiansystemd< systemd 252.38-1~deb12u1 (bookworm)systemd 252.38-1~deb12u1 (bookworm)
linuxlinux_kernel< 6.166.16
msrcazl3_kernel_6.6.96.2-1_on_azure_linux_3.0
msrcazl3_systemd_255-22_on_azure_linux_3.0
msrcazl3_systemd_255-23_on_azure_linux_3.0
msrcazl3_systemd_255-24_on_azure_linux_3.0
msrccbl2_kernel_5.15.186.1-1_on_cbl_mariner_2.0
msrccbl2_systemd_250.3-22_on_cbl_mariner_2.0
msrccbl2_systemd_250.3-23_on_cbl_mariner_2.0
oraclelinux
oraclelinux
redhatenterprise_linux
redhatenterprise_linux
redhatenterprise_linux
redhatenterprise_linux
redhatopenshift_container_platform
systemd_projectsystemd< 252.37252.37
systemd_projectsystemd>= 0 < 247.3-7+deb11u7247.3-7+deb11u7
systemd_projectsystemd>= 0 < 252.38-1~deb12u1252.38-1~deb12u1
systemd_projectsystemd>= 0 < 257.6-1257.6-1
systemd_projectsystemd>= 0 < 257.6-1257.6-1
systemd_projectsystemd>= 253 < 253.32253.32
systemd_projectsystemd>= 254 < 254.25254.25

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
osv4.7MEDIUM