CVE-2024-45780

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
03/03/2025
Last modified:
07/03/2025

Description

A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file name. However, it fails to properly verify the allocation against possible integer overflows. It's possible to cause the allocation length to overflow with a crafted tar file, leading to a heap out-of-bounds write. This flaw eventually allows an attacker to circumvent secure boot protections.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:gnu:grub2:*:*:*:*:*:*:*:* 2.12 (including)