CVE-2024-45780

CVE-2024-45780 is a medium-severity vulnerability in Gnu Grub2 with a CVSS 3.x base score of 6.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.

Key facts

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.

Frequently asked questions

What is CVE-2024-45780?
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.
How severe is CVE-2024-45780?
CVE-2024-45780 has a CVSS 3.x base score of 6.7, rated medium severity. It is exploitable over local access with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-45780 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (18th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-45780?
CVE-2024-45780 affects Gnu Grub2. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-45780?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-45780 have an EU (EUVD) identifier?
Yes. CVE-2024-45780 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-5590.
When was CVE-2024-45780 published?
CVE-2024-45780 was published on 2025-03-03 and last updated on 2026-06-29.

References

Affected products (1)

More vulnerabilities in Gnu Grub2

All CVEs affecting Gnu Grub2 →

Other CWE-787 (Out-of-bounds Write) vulnerabilities

Browse all CWE-787 (Out-of-bounds Write) vulnerabilities →