Skip to main content

CVE-2025-0622

MEDIUM
Use After Free (CWE-416)
2025-02-18 secalert@redhat.com
6.4
CVSS 3.1 · Vendor: redhat
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 6.4 score (Medium severity) reflects local attack vector (AV:L), high attack complexity (AC:H), and high privilege requirement (PR:H), constrained against impact severity (C:H, I:H, A:H-all high). The EPSS score of 0.09% (25th percentile) indicates very low probability of real-world exploitation relative to similar vulnerabilities, suggesting that while the technical impact is severe, practical exploitation barriers are substantial. The high attack complexity and privilege prerequisite significantly reduce real-world risk-an attacker must already have root or firmware-level access, credentials that typically indicate a system already compromised. However, the secure boot bypass implication and bootloader-level code execution elevate strategic importance for high-security environments and supply chain attack scenarios. No KEV status or public POC availability has been reported, further supporting the low EPSS. Risk prioritization should focus on patching rather than emergency response; this is a technical hygiene issue rather than an active threat indicator.

Exploit ScenarioDerived

An attacker with root-level access to a target system deliberately triggers unloading of a malicious or legitimate GRUB2 module via system administration tools or firmware interface, then forces a subsequent boot cycle or privileged operation that invokes the bootloader's hook system. Because hooks remain registered after unloading, the hook dispatcher calls the freed memory location, where the attacker has pre-positioned shellcode, achieving code execution within the bootloader's trusted execution context before the kernel initializes and before secure boot verification occurs. This enables bootkit installation, kernel parameter tampering, or persistence mechanisms that survive OS reinstallation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 24, 2026

GRUB2 bootloader fails to properly unload module-registered hooks during module unloading, creating a use-after-free condition that allows privileged local attackers to execute arbitrary code and potentially bypass secure boot protections. The vulnerability affects GRUB2 across multiple distributions including Red Hat Enterprise Linux and SUSE Linux Enterprise, with patch availability confirmed through multiple security advisories issued in early 2025. No public exploit code or active exploitation in the wild has been confirmed at time of analysis.

RemediationAI

Apply vendor-released security patches immediately through official distribution channels: for Red Hat Enterprise Linux, install updates referenced in RHSA-2025:16154 and RHSA-2025:6990; for SUSE Linux Enterprise, apply updates from the corresponding SUSE-SU advisories listed in the vulnerability references. The patches resolve the module hook cleanup logic to properly deregister hooks during module unloading. If immediate patching is not feasible, restrict physical or remote firmware access to GRUB2 configuration and module loading mechanisms to trusted administrators only, and disable non-essential GRUB2 modules that are not required for boot. Monitor boot logs and secure boot status indicators for any anomalies suggesting exploitation attempts. Organizations managing large fleets should prioritize patching production systems in security-sensitive environments (financial services, critical infrastructure, high-assurance computing) first, as these face elevated supply chain compromise risks.

Affected ProductsAI

Red Hat Enterprise Linux is affected across multiple versions with patches released via RHSA-2025:16154 and RHSA-2025:6990. SUSE Linux Enterprise is affected across multiple product lines with patches released via SUSE-SU-2025:01961, SUSE-SU-2025:0586, SUSE-SU-2025:0587, SUSE-SU-2025:0588, SUSE-SU-2025:0607, SUSE-SU-2025:0629, SUSE-SU-2025:20511, SUSE-SU-2025:20863, and SUSE-SU-2025:14822. The underlying affected software is GNU GRUB2 with module management functionality; specific version ranges are documented in the referenced vendor security advisories. CPE string cpe:2.3:a:gnu:grub2 matches the core affected software. Fedora and other distributions shipping GRUB2 may also be affected pending their advisory releases.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the GRUB2 command/gpg module implementation, which manages cryptographic operations during boot. GRUB2's modular architecture allows runtime loading and unloading of functional modules; each module can register callback hooks with the bootloader's hook system. The flaw stems from incomplete cleanup logic in the module unload pathway-when a module is removed from memory, its registered hooks remain in the hook registry pointing to now-freed memory locations. CWE-416 (Use After Free) categorizes this as a memory safety violation where freed memory is subsequently dereferenced. The attack surface is confined to the boot environment where an attacker with high privilege (root or firmware access) can trigger module unloading followed by hook invocation, resulting in execution of arbitrary code at the bootloader privilege level. This is particularly critical because GRUB2 executes before operating system kernel initialization and before secure boot verification completion.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
SUSE MEDIUM
Red Hat 6.4 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Feb 18, 2025 - 20:15 nvd
MEDIUM 6.4

DescriptionCVE.org

A flaw was found in command/gpg. In some scenarios, hooks created by loaded modules are not removed when the related module is unloaded. This flaw allows an attacker to force grub2 to call the hooks once the module that registered it was unloaded, leading to a use-after-free vulnerability. If correctly exploited, this vulnerability may result in arbitrary code execution, eventually allowing the attacker to bypass secure boot protections.

Executive ViewAI

Why It Matters

Organizations using A flaw should be aware of moderate risk from CVE-2025-0622, a use-after-free vulnerability rated CVSS 6.4. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: enable ASLR/DEP, apply network segmentation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
Container suse/manager/5.0/x86_64/server:5.0.4.7.19.1 Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.30 Affected
Container suse/sl-micro/6.1/base-os-container:2.2.1-5.40 Affected
Container suse/sle-micro-rancher/5.2:latest Image SLES15-SP3-BYOS-Azure Image SLES15-SP3-BYOS-GCE Image SLES15-SP3-HPC-BYOS-Azure Image SLES15-SP3-HPC-BYOS-GCE Image SLES15-SP3-Micro-5-2-BYOS-Azure Image SLES15-SP3-Micro-5-2-BYOS-GCE Image SLES15-SP3-SAP-Azure-VLI-BYOS-Production Image SLES15-SP3-SAP-BYOS-Azure Image SLES15-SP3-SAP-BYOS-GCE Image SLES15-SP3-SAPCAL-Azure Image SLES15-SP3-SAPCAL-GCE Affected
Container suse/sle-micro-rancher/5.3:latest Container suse/sle-micro-rancher/5.4:latest Image SLES15-SP4-BYOS-Azure Image SLES15-SP4-BYOS-GCE Image SLES15-SP4-CHOST-BYOS-Azure Image SLES15-SP4-CHOST-BYOS-GCE Image SLES15-SP4-CHOST-BYOS-SAP-CCloud Image SLES15-SP4-HPC-BYOS-Azure Image SLES15-SP4-HPC-BYOS-GCE Image SLES15-SP4-HPC-GCE Image SLES15-SP4-Hardened-BYOS-Azure Image SLES15-SP4-Hardened-BYOS-GCE Image SLES15-SP4-Manager-Proxy-4-3-BYOS Image SLES15-SP4-Manager-Proxy-4-3-BYOS-Azure Image SLES15-SP4-Manager-Proxy-4-3-BYOS-GCE Image SLES15-SP4-Manager-Server-4-3-BYOS Image SLES15-SP4-Manager-Server-4-3-BYOS-Azure Image SLES15-SP4-Manager-Server-4-3-BYOS-GCE Image SLES15-SP4-SAP-Azure Image SLES15-SP4-SAP-Azure-LI-BYOS Image SLES15-SP4-SAP-Azure-LI-BYOS-Production Image SLES15-SP4-SAP-Azure-VLI-BYOS Image SLES15-SP4-SAP-Azure-VLI-BYOS-Production Image SLES15-SP4-SAP-BYOS-Azure Image SLES15-SP4-SAP-BYOS-GCE Image SLES15-SP4-SAP-GCE Image SLES15-SP4-SAP-Hardened Image SLES15-SP4-SAP-Hardened-Azure Image SLES15-SP4-SAP-Hardened-BYOS-Azure Image SLES15-SP4-SAP-Hardened-BYOS-GCE Image SLES15-SP4-SAP-Hardened-GCE Image SLES15-SP4-SAPCAL-Azure Image SLES15-SP4-SAPCAL-GCE Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy