p PatchFirst

CVE-2025-4598

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.7 · Medium · EPSS 1.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • red hat enterprise linux 10

    Versions
    • ≥ 0:257-23.el10: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9

    Versions
    • ≥ 0:252-55.el9_7.7: Not affected (rpm)

    No fix published

  • red hat ceph storage 7

    Versions
    • ≥ 7: Not affected (rpm)

    No fix published

  • red hat ceph storage 8

    Versions
    • ≥ 8: Not affected (rpm)

    No fix published

  • red hat ceph storage 8

    Versions
    • ≥ 1769512383: Not affected (rpm)

    No fix published

  • red hat discovery 2

    Versions
    • ≥ 1767888970: Not affected (rpm)

    No fix published

  • red hat discovery 2

    Versions
    • ≥ 1767904573: Not affected (rpm)

    No fix published

  • red hat insights proxy 1.5

    Versions
    • ≥ 1.5.9-1765201856: Not affected (rpm)

    No fix published

  • red hat enterprise linux 10

    No fix published

  • red hat enterprise linux 7

    No fix published

  • red hat enterprise linux 7

    No fix published

  • red hat enterprise linux 8

    No fix published

  • red hat enterprise linux 9

    No fix published

  • red hat openshift container platform 4

    No fix published

  • red hat openshift container platform 4

    No fix published

  • systemd Debian:12

    Versions
    • 252.11-1
    • 252.11-1~deb12u1
    • 252.12-1~deb12u1
    • 252.14-1~deb12u1
    • 252.16-1~deb12u1
    • 252.17-1~deb12u1
    • 252.18-1~deb12u1
    • 252.19-1~deb12u1
    • 252.20-1~deb12u1
    • 252.21-1~deb12u1
    • 252.22-1~deb12u1
    • 252.23-1~deb12u1
    • 252.24-1~deb12u1
    • 252.25-1~deb12u1
    • 252.26-1~deb12u1
    • 252.26-1~deb12u2
    • 252.26-1~deb12u2~bpo11+1
    • 252.27-1~deb12u1
    • 252.28-1~deb12u1
    • 252.29-1~deb12u1
    • 252.29-1~deb12u1~bpo11+1
    • 252.30-1~deb12u1
    • 252.30-1~deb12u2
    • 252.31-1~deb12u1
    • 252.32-1~deb12u1
    • 252.33-1~deb12u1
    • 252.36-1~deb12u1
    • 252.6-1
    • 252.6-1+loong64
    Affected ranges
    • ECOSYSTEM: < 252.38-1~deb12u1

    Update to 252.38-1~deb12u1

  • systemd Debian:13

    Affected ranges
    • ECOSYSTEM: < 257.6-1

    Update to 257.6-1

  • systemd Debian:14

    Affected ranges
    • ECOSYSTEM: < 257.6-1

    Update to 257.6-1

  • systemd Ubuntu:Pro:20.04:LTS

    Versions
    • 242-7ubuntu3
    • 243-2ubuntu1
    • 243-3ubuntu1
    • 244-3ubuntu1
    • 244.1-0ubuntu2
    • 244.1-0ubuntu3
    • 244.2-1ubuntu1
    • 244.3-1ubuntu1
    • 245.2-1ubuntu1
    • 245.2-1ubuntu2
    • 245.4-2ubuntu1
    • 245.4-4ubuntu1
    • 245.4-4ubuntu3
    • 245.4-4ubuntu3.1
    • 245.4-4ubuntu3.2
    • 245.4-4ubuntu3.3
    • 245.4-4ubuntu3.4
    • 245.4-4ubuntu3.5
    • 245.4-4ubuntu3.6
    • 245.4-4ubuntu3.7
    • 245.4-4ubuntu3.10
    • 245.4-4ubuntu3.11
    • 245.4-4ubuntu3.13
    • 245.4-4ubuntu3.14
    • 245.4-4ubuntu3.15
    • 245.4-4ubuntu3.16
    • 245.4-4ubuntu3.17
    • 245.4-4ubuntu3.18
    • 245.4-4ubuntu3.19
    • 245.4-4ubuntu3.20
    • 245.4-4ubuntu3.21
    • 245.4-4ubuntu3.22
    • 245.4-4ubuntu3.23
    • 245.4-4ubuntu3.24
    Affected ranges
    • ECOSYSTEM: < 245.4-4ubuntu3.24+esm1

    Update to 245.4-4ubuntu3.24+esm1

  • systemd Ubuntu:22.04:LTS

    Versions
    • 248.3-1ubuntu8
    • 249.5-2ubuntu1
    • 249.5-2ubuntu2
    • 249.5-2ubuntu3
    • 249.5-2ubuntu4
    • 249.9-0ubuntu2
    • 249.10-0ubuntu1
    • 249.10-0ubuntu2
    • 249.11-0ubuntu1
    • 249.11-0ubuntu2
    • 249.11-0ubuntu3
    • 249.11-0ubuntu3.1
    • 249.11-0ubuntu3.3
    • 249.11-0ubuntu3.4
    • 249.11-0ubuntu3.6
    • 249.11-0ubuntu3.7
    • 249.11-0ubuntu3.9
    • 249.11-0ubuntu3.10
    • 249.11-0ubuntu3.11
    • 249.11-0ubuntu3.12
    • 249.11-0ubuntu3.15
    Affected ranges
    • ECOSYSTEM: < 249.11-0ubuntu3.16

    Update to 249.11-0ubuntu3.16

  • systemd Ubuntu:24.04:LTS

    Versions
    • 253.5-1ubuntu6
    • 253.5-1ubuntu7
    • 255.2-3ubuntu2
    • 255.4-1ubuntu5
    • 255.4-1ubuntu6
    • 255.4-1ubuntu7
    • 255.4-1ubuntu8
    • 255.4-1ubuntu8.1
    • 255.4-1ubuntu8.2
    • 255.4-1ubuntu8.4
    • 255.4-1ubuntu8.5
    • 255.4-1ubuntu8.6
    Affected ranges
    • ECOSYSTEM: < 255.4-1ubuntu8.8

    Update to 255.4-1ubuntu8.8

Original sources

Check your server →