Public vulnerability disclosure

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

publishedCWE-364

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.

Technical severity4.7 mediumCVSS 3.1 · CNA: redhat
Published2025-05-30Source updated 2026-11-24
Collected2026-11-243 attributed sources

Fixes and workarounds

Workaround

This issue can be mitigated by disabling the capability of the system to generate a coredump for SUID binaries. The perform that, the following command can be ran as `root` user: ~~~ echo 0 > /proc/sys/fs/suid_dumpable ~~~ While this mitigates this vulnerability while it's not possible to update the systemd package, it disables the capability of analyzing crashes for such binaries.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


systemd-coredump
https://github.com/systemd/systemd
≥ 0; < 252.37 (affected, semver)
≥ 253.0; < 253.32 (affected, semver)
≥ 254.0; < 254.25 (affected, semver)
≥ 255.0; < 255.19 (affected, semver)
≥ 256.0; < 256.14 (affected, semver)
≥ 257.0; < 257.6 (affected, semver)
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
systemd
https://access.redhat.com/downloads/content/package-browser/
≥ 0:257-23.el10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
systemd
https://access.redhat.com/downloads/content/package-browser/
≥ 0:252-55.el9_7.7; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ceph Storage 7
Red Hat
rhceph/rhceph-7-rhel9
https://catalog.redhat.com/software/containers/
≥ 7; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ceph Storage 8
Red Hat
rhceph/rhceph-8-rhel9
https://catalog.redhat.com/software/containers/
≥ 8; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ceph Storage 8
Red Hat
rhceph/rhceph-8-rhel9
https://catalog.redhat.com/software/containers/
≥ 1769512383; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Discovery 2
Red Hat
discovery/discovery-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1767888970; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Discovery 2
Red Hat
discovery/discovery-ui-rhel9
https://catalog.redhat.com/software/containers/
≥ 1767904573; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Insights proxy 1.5
Red Hat
insights-proxy/insights-proxy-container-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.5.9-1765201856; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
NetworkManager
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
rpm-ostree
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 7
Red Hat
NetworkManager
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 7
Red Hat
systemd
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
systemd
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
NetworkManager
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat OpenShift Container Platform 4
Red Hat
openshift/ose-rhel-coreos-8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat OpenShift Container Platform 4
Red Hat
openshift/ose-rhel-coreos-9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4
Red Hat
systemd
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.5; < * (affected, custom)
Other versions: unknown
ADP: siemens-SADP
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Siemens
≥ V3.1.5; < * (affected, custom)
Other versions: unknown
ADP: siemens-SADP
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.5; < * (affected, custom)
Other versions: unknown
ADP: siemens-SADP

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

NVD applicability configurations (5)

These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.

[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "252.37",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "253.32",
            "versionStartIncluding": "253",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "254.25",
            "versionStartIncluding": "254",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "255.19",
            "versionStartIncluding": "255",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "256.14",
            "versionStartIncluding": "256",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "257.6",
            "versionStartIncluding": "257",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:oracle:linux:8:-:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:oracle:linux:9:-:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.16",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 4.7
medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NCNA: redhat
3.1 / 4.7
medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NNVD: [email protected]

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide