We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

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.

Reserved 2025-05-12 | Published 2025-05-30 | Updated 2025-06-03 | Assigner redhat


MEDIUM: 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem types

Signal Handler Race Condition

Product status

Default status
unaffected

Default status
affected

Default status
affected

Default status
unaffected

Default status
unaffected

Default status
unaffected

Default status
unaffected

Default status
unaffected

Default status
affected

Default status
affected

Timeline

2025-05-29:Reported to Red Hat.
2025-05-29:Made public.

References

access.redhat.com/security/cve/CVE-2025-4598 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2369242 (RHBZ#2369242) issue-tracking

www.openwall.com/lists/oss-security/2025/05/29/3

cve.org (CVE-2025-4598)

nvd.nist.gov (CVE-2025-4598)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-4598

Support options

Helpdesk Chat, Email, Knowledgebase