Cloudanix VulnDB

CVE-2025-4598

Medium · 4.7

CVSS

4.7

EPSS

1.3%

Published

May 30, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A local user could potentially steal passwords and other secrets from certain privileged programs on the same computer by exploiting a timing flaw in how crash reports are handled.

Chainable
Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
High
Impact
Data Exposure
Component
Application
Class
Race Condition
Remediation
Patch
Effort
Medium
Patch risk
Medium

What it actually does

Race condition in systemd-coredump allows a local attacker to force a SUID process crash, win PID reuse before /proc/pid/auxv analysis completes, and obtain the privileged coredump containing sensitive in-memory data such as /etc/shadow contents.

Why it matters to the business

Attackers on the same system may obtain passwords or other secrets loaded by privileged binaries, increasing risk of lateral movement or privilege escalation; however low EPSS, high attack complexity, and absence from KEV indicate limited real-world impact even after 514 days.

How an attack unfolds

An attacker on the local system repeatedly crashes a chosen SUID binary while racing the kernel PID allocator against systemd-coredump; winning the race lets the attacker substitute a non-SUID binary so the coredump handler writes the original privileged memory image to a readable file.

How to fix it

Upgrade linux-hwe on Ubuntu Pro 16.04 LTS to 4.15.0-194.205~16.04.1 or newer; apply all subsequent kernel and systemd updates; consider disabling coredumps for SUID binaries via sysctl or systemd configuration where feasible.

How to confirm the fix worked

Confirm the installed linux-hwe package version is at least 4.15.0-194.205~16.04.1; test that deliberate SUID crashes no longer produce readable privileged coredumps for unprivileged users; review kernel and systemd changelogs for the race-condition fix.

Typical attack path

  1. Identify a SUID binary that loads sensitive data into memory
  2. Trigger repeated crashes of the target process
  3. Win the PID-recycling race before systemd-coredump reads /proc/pid/auxv
  4. Replace the crashed process with a non-SUID binary under attacker control
  5. Read the resulting coredump to extract secrets such as shadow hashes

How to detect it

Search system logs for unusual patterns of SUID process crashes followed quickly by coredump file creation; monitor for processes reading coredump files they should not access; review auditd or kernel logs for PID reuse events around SUID binaries.

What your security team should do

  • Prioritize patching linux-hwe to the stated fixed version on all Ubuntu 16.04 Pro systems
  • Reduce coredump exposure for SUID processes via system-wide configuration changes
  • Monitor EPSS trend; reassess if score rises sharply or new exploit code appears
  • Audit SUID binaries and minimize their use where possible

The record

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 packages

Ecosystem Package Introduced Fixed
AlmaLinux:9 rhel-net-naming-sysattrs 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-boot-unsigned 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-container 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-devel 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-journal-remote 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-libs 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-oomd 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-pam 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-resolved 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-rpm-macros 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-udev 0 252-55.el9_7.7.alma.1
AlmaLinux:9 systemd-ukify 0 252-55.el9_7.7.alma.1
Chainguard hyperv-daemons-6.12 0 0
Chainguard linux-aws-6.12 0 0
Chainguard linux-aws-6.12 0 6.12.64-r0
Chainguard linux-aws-6.12 0 6.12.65-r0
Chainguard linux-aws-6.12-boot-installed 0 0
Chainguard linux-aws-6.12-fips-boot-installed 0 0
Chainguard linux-aws-6.12-headers 0 0
Chainguard linux-aws-6.12-modules 0 0
Chainguard linux-azure-6.12 0 6.12.64-r0
Chainguard linux-azure-6.12 0 6.12.65-r1
Chainguard linux-azure-6.12-boot-installed 0 0
Chainguard linux-azure-6.12-fips-boot-installed 0 0
Chainguard linux-azure-6.12-headers 0 0
Chainguard linux-azure-6.12-modules 0 0
Chainguard linux-gcp-6.12 0 6.12.64-r0
Chainguard linux-gcp-6.12 0 6.12.65-r0
Chainguard linux-gcp-6.12-boot-installed 0 0
Chainguard linux-gcp-6.12-fips-boot-installed 0 0
Chainguard linux-gcp-6.12-headers 0 0
Chainguard linux-gcp-6.12-modules 0 0
Chainguard linux-qemu-6.12 0 6.12.65-r2
Chainguard linux-qemu-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-headers 0 6.12.63-r0
Chainguard linux-qemu-6.12-modules 0 6.12.63-r0
Chainguard linux-vmware-6.12 0 6.12.65-r2
Chainguard linux-vmware-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-headers 0 6.12.63-r0
Chainguard linux-vmware-6.12-modules 0 6.12.63-r0
Chainguard py3-supported-systemd 0 0
Chainguard py3-systemd 0 0
Chainguard py3.10-systemd 0 0
Chainguard py3.11-systemd 0 0
Chainguard py3.12-systemd 0 0
Chainguard py3.13-systemd 0 0
Debian:11 systemd 0 No fix
Debian:12 systemd 0 252.38-1~deb12u1
Debian:13 systemd 0 257.6-1
Debian:14 systemd 0 257.6-1
Mageia:9 systemd 0 253.33-1.mga9
SUSE:Enterprise Storage 7.1 systemd 0 246.16-150300.7.60.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS systemd 0 246.16-150300.7.60.1
SUSE:Linux Enterprise Micro 5.1 systemd 0 246.16-150300.7.60.1
SUSE:Linux Enterprise Micro 5.2 systemd 0 246.16-150300.7.60.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 systemd 0 254.25-150600.4.40.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7 systemd 0 254.25-150600.4.40.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 systemd 0 254.25-150600.4.40.1
SUSE:Linux Enterprise Module for Package Hub 15 SP7 systemd 0 254.25-150600.4.40.1
SUSE:Linux Enterprise Server 15 SP3-LTSS systemd 0 246.16-150300.7.60.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 systemd 0 228-157.72.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 systemd 0 246.16-150300.7.60.1
openSUSE:Leap 15.6 systemd 0 254.25-150600.4.40.1
openSUSE:Tumbleweed systemd 0 257.7-1.1

Related vulnerabilities