Skip to content
CVE PROGRAM SOURCE RECORD4.7 Medium

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

systemd-coredump

Default version status: unaffected

  • 0 to < 252.37affected
  • 253.0 to < 253.32affected
  • 254.0 to < 254.25affected
  • 255.0 to < 255.19affected
  • 256.0 to < 256.14affected
  • 257.0 to < 257.6affected

Red Hat Red Hat Enterprise Linux 10

Default version status: affected

  • 0:257-23.el10 to < *unaffected

Red Hat Red Hat Enterprise Linux 9

Default version status: affected

  • 0:252-55.el9_7.7 to < *unaffected

Red Hat Red Hat Enterprise Linux 9

Default version status: affected

  • 0:252-55.el9_7.7 to < *unaffected

Red Hat Red Hat Ceph Storage 7

Default version status: affected

  • 7 to < *unaffected

Red Hat Red Hat Ceph Storage 8

Default version status: affected

  • 8 to < *unaffected

Red Hat Red Hat Ceph Storage 8

Default version status: affected

  • 1769512383 to < *unaffected

Red Hat Red Hat Discovery 2

Default version status: affected

  • 1767888970 to < *unaffected

Red Hat Red Hat Discovery 2

Default version status: affected

  • 1767904573 to < *unaffected

Red Hat Red Hat Insights proxy 1.5

Default version status: affected

  • 1.5.9-1765201856 to < *unaffected

Red Hat Red Hat Enterprise Linux 10

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 10

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 7

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 7

Default version status: affected

Red Hat Red Hat Enterprise Linux 8

Default version status: affected

Red Hat Red Hat Enterprise Linux 9

Default version status: unaffected

Red Hat Red Hat OpenShift Container Platform 4

Default version status: unaffected

Red Hat Red Hat OpenShift Container Platform 4

Default version status: affected

Red Hat Red Hat OpenShift Container Platform 4

Default version status: unaffected

References