Moderate Security Vulnerability in grub2 Packages: Integer Overflow Leading to Heap OOB Write

grub2-common Updated 21 Nov 2025

Summary

11/11/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:20532: Moderate: grub2 security update. Affects grub2-common versions < 1:2.06-114.el9_7.alma.1. Fixed in 1:2.06-114.el9_7.alma.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 packages provide version 2 of the Grand Unified Boot Loader (GRUB), a highly configurable and customizable boot loader with a modular architecture. GRUB supports various kernel formats, file systems, computer architectures, and hardware devices, making it essential for system boot processes. However, a recently identified vulnerability poses a risk to the integrity and security of systems utilizing these packages.

Vulnerability Detail

The vulnerability identified as CVE-2024-45777 is an integer overflow issue within the grub-core/gettext component of the grub2 package. This flaw can lead to a heap out-of-bounds (OOB) write, which may allow an attacker to execute arbitrary code or crash the system. The vulnerability arises from improper handling of integer values, which can be exploited to manipulate memory allocation, potentially compromising system security.

How To Fix

Minimum fixed version

1:2.06-114.el9_7.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

As a temporary measure, users may consider disabling the affected grub2 functionalities or using alternative boot loaders until the update can be applied. However, this is not a permanent solution and should be addressed as soon as possible.

Conclusion

The grub2 security update addresses a critical vulnerability that could compromise system integrity. It is essential for users to update their packages to the patched version to mitigate risks associated with this vulnerability. Regular monitoring and timely updates are crucial for maintaining system security.

See every vulnerability recorded for grub2-common →

Share this vulnerability

FAQ

The vulnerability is an integer overflow that can lead to a heap out-of-bounds write, potentially allowing attackers to execute arbitrary code.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor vulnerabilities in real-time using just a manifest file.

If immediate updates are not possible, consider disabling the affected functionalities or using alternative boot loaders as a temporary workaround.

Yes, if exploited, this vulnerability could lead to system crashes or unauthorized access, potentially resulting in data loss.

For detailed information about the security issue, refer to the CVE page for CVE-2024-45777 and the AlmaLinux Release Notes linked in the advisory.

Related vulnerabilities

Recent vulnerabilities recorded for grub2-common.

How To Fix

Minimum fixed version

1:2.06-114.el9_7.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 →

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