Moderate Vulnerability in grub2: Use-After-Free Risk Due to Missing Unregister Call

grub2 Updated 21 May 2026

Summary

21/05/2026
N/A
Yes i
High
7.8

RLSA-2026:4649: Moderate: grub2 security update. Affects grub2 versions < 1:2.12-29.el10_1.2.rocky.0.1. Fixed in 1:2.12-29.el10_1.2.rocky.0.1. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The grub2 package is the second version of the Grand Unified Boot Loader (GRUB), a highly configurable and customizable boot loader that supports various kernel formats, file systems, computer architectures, and hardware devices. It plays a crucial role in the boot process of operating systems, allowing users to select which OS to boot and providing options for kernel parameters.

Vulnerability Detail

The vulnerability identified as CVE-2025-61662 arises from a missing unregister call for the gettext command within the grub2 package. This oversight can lead to a use-after-free condition, where the program attempts to access memory that has already been freed. Such vulnerabilities can be exploited by attackers to execute arbitrary code, potentially compromising the system's integrity and confidentiality.

How To Fix

Minimum fixed version

1:2.12-29.el10_1.2.rocky.0.1

This is the first release that contains the fix.

sudo dnf update grub2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available updates as soon as possible.

Conclusion

The grub2 package has a moderate vulnerability (CVE-2025-61662) due to a missing unregister call, which can lead to serious security risks. It is crucial to update the package to the latest version to mitigate these risks. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for grub2 →

Share this vulnerability

FAQ

CVE-2025-61662 is a security vulnerability in the grub2 package that can lead to a use-after-free condition due to a missing unregister call for the gettext command.

If exploited, this vulnerability could allow attackers to execute arbitrary code, potentially compromising the system's security and stability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected without needing to sign up.

The CVSS score for this vulnerability is 7.8, indicating a moderate severity level.

You can update the grub2 package by running the command 'sudo yum update grub2' in your terminal to ensure you have the latest security fixes.

Related vulnerabilities

Recent vulnerabilities recorded for grub2.

How To Fix

Minimum fixed version

1:2.12-29.el10_1.2.rocky.0.1

This is the first release that contains the fix.

sudo dnf update grub2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback