Moderate Security Vulnerability in grub2 Packages: Use-After-Free Risk
Summary
ALSA-2026:4649: Moderate: grub2 security update. Affects grub2-common versions < 1:2.12-29.el10_1.2.alma.1. Fixed in 1:2.12-29.el10_1.2.alma.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The grub2 packages provide version 2 of the Grand Unified Boot Loader (GRUB), a highly configurable and customizable boot loader with a modular architecture. It supports various kernel formats, file systems, computer architectures, and hardware devices, making it essential for system boot processes in many Linux distributions, including AlmaLinux.
Vulnerability Detail
The vulnerability arises from a missing unregister call for the gettext command in the grub2 package, which may lead to a use-after-free condition. This can potentially allow an attacker to exploit the system by executing arbitrary code, leading to unauthorized access or system instability. The specific identifier for this vulnerability is CVE-2025-61662.
How To Fix
Minimum fixed version
1:2.12-29.el10_1.2.alma.1
This is the first release that contains the fix.
sudo dnf update grub2-common
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
No specific workaround has been mentioned for this vulnerability. It is recommended to apply the security update as soon as possible to mitigate the risk.
Conclusion
The grub2 security update addresses a moderate vulnerability that could lead to serious consequences if left unpatched. Users are strongly encouraged to update their grub2 packages to the fixed version to ensure system security and stability.
See every vulnerability recorded for grub2-common →
FAQ
The vulnerability is a use-after-free issue caused by a missing unregister call for the gettext command, which can lead to potential code execution.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By uploading a manifest file like package-lock.json, you can check for vulnerabilities in real-time.
Failure to fix this vulnerability may result in unauthorized access to the system, potential data breaches, or system instability due to arbitrary code execution.
Currently, no specific workaround is provided. The best course of action is to apply the security update as soon as it is available.
For more details, refer to the CVE page associated with this vulnerability, CVE-2025-61662, or visit the AlmaLinux advisories page.
Related vulnerabilities
Recent vulnerabilities recorded for grub2-common.