CVE-2025-4598CWE-364

CVE-2025-4598

Medium · published May 30, 2025

CVSS v3.1
4.7
EPSS
1%
Percentile
68.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.01233 · 68.8th percentile
Weakness
CWE-364 · Signal Handler Race Condition
Published
2025-05-30T18:15Z
Affected products (16)
ProductVersionsFixed in
systemd_project/systemd< 252.37252.37
systemd_project/systemd≥ 253, < 253.32253.32
systemd_project/systemd≥ 254, < 254.25254.25
systemd_project/systemd≥ 255, < 255.19255.19
systemd_project/systemd≥ 256, < 256.14256.14
systemd_project/systemd≥ 257, < 257.6257.6
redhat/openshift_container_platformall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
debian/debian_linuxall versions—
debian/debian_linuxall versions—
oracle/linuxall versions—
oracle/linuxall versions—
linux/linux_kernel< 6.166.16
References (19)
https://access.redhat.com/errata/RHSA-2025:22660 · [email protected]https://access.redhat.com/errata/RHSA-2025:22868 · [email protected]https://access.redhat.com/errata/RHSA-2025:23227 · [email protected]https://access.redhat.com/errata/RHSA-2025:23234 · [email protected]https://access.redhat.com/errata/RHSA-2026:0414 · [email protected]https://access.redhat.com/errata/RHSA-2026:1652 · [email protected]https://access.redhat.com/errata/RHSA-2026:18153 · [email protected]https://access.redhat.com/security/cve/CVE-2025-4598 · [email protected]https://bugzilla.redhat.com/show_bug.cgi?id=2369242 · [email protected]https://www.openwall.com/lists/oss-security/2025/05/29/3 · [email protected]http://seclists.org/fulldisclosure/2025/Jun/9 · af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/06/05/1 · af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/06/05/3 · af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/08/18/3 · af854a3a-2127-422b-91ae-364da2661108https://blogs.oracle.com/linux/post/analysis-of-cve-2025-4598 · af854a3a-2127-422b-91ae-364da2661108https://ciq.com/blog/the-real-danger-of-systemd-coredump-cve-2025-4598/ · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/07/msg00022.html · af854a3a-2127-422b-91ae-364da2661108https://www.openwall.com/lists/oss-security/2025/08/18/3 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-082556.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 30 MAY 13:13Z
    Systemd-coredump: race condition that allows a local attacker to crash a suid program and gain read access to the resulting core dump
    cvelistv5