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

At a glance

Severity
MEDIUM 4.7
EPSS
EPSS 1.28 % · percentile 70 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:Nredhat
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · secalert@redhat.com (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
systemd-coredumpaffected 0 < 252.37 ; affected 253.0 < 253.32 ; affected 254.0 < 254.25 ; affected 255.0 < 255.19 ; affected 256.0 < 256.14 ; affected 257.0 < 257.6
Red Hat · Red Hat Enterprise Linux 10unaffected 0:257-23.el10 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:252-55.el9_7.7 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:252-55.el9_7.7 < *
Red Hat · Red Hat Ceph Storage 7unaffected 7 < *
Red Hat · Red Hat Ceph Storage 8unaffected 8 < *
Red Hat · Red Hat Ceph Storage 8unaffected 1769512383 < *
Red Hat · Red Hat Discovery 2unaffected 1767888970 < *
Red Hat · Red Hat Discovery 2unaffected 1767904573 < *
Red Hat · Red Hat Insights proxy 1.5unaffected 1.5.9-1765201856 < *
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat Enterprise Linux 9
Red Hat · Red Hat OpenShift Container Platform 4
Red Hat · Red Hat OpenShift Container Platform 4
Red Hat · Red Hat OpenShift Container Platform 4

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD