CVE-2025-4598

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-4598
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-4598.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-4598
Downstream
Related
Published
2025-05-30T14:15:23Z
Modified
2025-09-19T15:27:26.258169Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/systemd/systemd

Affected ranges

Type
GIT
Repo
https://github.com/systemd/systemd
Events

Affected versions

Other

v256

v256.*

v256.1
v256.10
v256.11
v256.12
v256.13
v256.2
v256.3
v256.4
v256.5
v256.6
v256.7
v256.8
v256.9