---
id: CVE-2025-4598
title: A vulnerability was found in systemd-coredump
summary: >-
  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
  sensit…
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-364
vendor: systemd_project
product: systemd
affected:
  - systemd < 252.37
  - 'systemd >= 253, < 253.32'
  - 'systemd >= 254, < 254.25'
  - 'systemd >= 255, < 255.19'
  - 'systemd >= 256, < 256.14'
  - 'systemd >= 257, < 257.6'
  - openshift_container_platform = 4.0
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
  - debian_linux = 11.0
  - debian_linux = 12.0
  - linux = 8
  - linux = 9
  - linux_kernel < 6.16
patched:
  - systemd 257.6
  - linux_kernel 6.16
published: '2025-05-30'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-4598'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:22660'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:22868'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:23227'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:23234'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:0414'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:1652'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:18153'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2025-4598'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2369242'
    label: secalert@redhat.com
  - url: 'https://www.openwall.com/lists/oss-security/2025/05/29/3'
    label: secalert@redhat.com
  - url: 'http://seclists.org/fulldisclosure/2025/Jun/9'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2025/06/05/1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2025/06/05/3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2025/08/18/3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://blogs.oracle.com/linux/post/analysis-of-cve-2025-4598'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://ciq.com/blog/the-real-danger-of-systemd-coredump-cve-2025-4598/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/07/msg00022.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.openwall.com/lists/oss-security/2025/08/18/3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-082556.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.00789
epssPercentile: 0.54765
ingestedAt: '2026-06-29T13:24:34.350Z'
---

## Overview

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

- `systemd < 252.37`
- `systemd >= 253, < 253.32`
- `systemd >= 254, < 254.25`
- `systemd >= 255, < 255.19`
- `systemd >= 256, < 256.14`
- `systemd >= 257, < 257.6`
- `openshift_container_platform = 4.0`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`
- `debian_linux = 11.0`
- `debian_linux = 12.0`
- `linux = 8`
- `linux = 9`
- `linux_kernel < 6.16`

## Remediation

Upgrade past the affected range:

- `systemd 257.6`
- `linux_kernel 6.16`
