Cyber Resilience

CVE-2025-7519

Memory Safety in Redhat Enterprise Linux 10.0 … 9.0

Published
14 July 2025
Modified
30 June 2026
Patch / advisory
CVSS Score v3.1 6.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0018 8th percentile
Risk Priority 45 floored blend · peak EPSS

Summary

CVE-2025-7519 is a medium-severity Out-of-bounds Write (CWE-787) vulnerability in Redhat Enterprise Linux. Its CVSS base score is 6.7 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-6 (Least Privilege) and CM-5 (Access Restrictions for Change) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

A flaw was found in polkit. When processing an XML policy with 32 or more nested elements in depth, an out-of-bounds write can be triggered. This issue can lead to a crash or other unexpected behavior, and arbitrary code execution…

more

is not discarded. To exploit this flaw, a high-privilege account is needed as it's required to place the malicious policy file properly.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Why these techniques?

OOB write in polkit XML policy parser enables local privilege escalation via crafted policy file (CWE-787).

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2025-5917Same product: Redhat Enterprise Linux
CVE-2024-45782Same product: Redhat Enterprise Linux
CVE-2023-40547Same product: Redhat Enterprise Linux
CVE-2024-45777Same product: Redhat Enterprise Linux
CVE-2023-5367Same product: Redhat Enterprise Linux
CVE-2023-6228Same product: Redhat Enterprise Linux
CVE-2024-0646Same product: Redhat Enterprise Linux
CVE-2023-52355Same product: Redhat Enterprise Linux
CVE-2025-20890Shared CWE-787
CVE-2024-52319Shared CWE-787

Affected Assets

redhat
openshift container platform
4.0
redhat
enterprise linux
10.0, 6.0, 7.0, 8.0, 9.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-6 Least Privilege
  • CM-5 Access Restrictions for Change
  • SI-10 Information Input Validation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly limits the high-privilege accounts that can place a malicious polkit XML policy file in the first place.

prevent

Enforces access restrictions on modifications to polkit policy files, blocking unauthorized placement of deeply-nested XML.

prevent

Requires validation of XML input depth and structure, directly addressing the out-of-bounds write (CWE-787) root cause.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure-development practices (static analysis, bounds checking, code review) are the primary means of preventing out-of-bounds writes.

ID.RA-01 partial match
prevents

Vulnerability scanning and recording can discover out-of-bounds write flaws so they can be remediated.

PR.PS-02 partial match
prevents

Patching or replacing vulnerable software directly eliminates known instances of this coding weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development and acceptance can detect and prevent out-of-bounds write defects.

prevents

Secure development life cycle mandates practices that prevent out-of-bounds writes.

prevents

Application security requirements can specify bounds-checking and safe memory handling.

prevents

Secure architecture and engineering principles reduce the likelihood of buffer overflows.

prevents

Secure coding directly addresses out-of-bounds writes through language choice and coding standards.

prevents

Change management can enforce review gates that catch unsafe memory operations before deployment.

References