CVE-2024-45780

MEDIUM CVSS 3.1: 6.7 EPSS 0.29%
Updated Nov 24, 2026
Gnu
Parameter Value
CVSS 6.7 (MEDIUM)
Affected Versions before 2.12
Type CWE-787 (Out-of-bounds Write)
Vendor Gnu
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gnu Grub2
cpe:2.3:a:gnu:grub2:*:*:*:*:*:*:*:*
— <= 2.12