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.
CVE-2024-45780
CVSS base score
6.7 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-787
Last modified
November 5, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected products
gnu grub2
References
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking
- lists.gnu.org Mailing List