Buffer overflow in GNU Grub2
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (18.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 18.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000
Affected products
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2024-45780 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking)
- lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html (Mailing List)
Frequently asked questions
- What is CVE-2024-45780?
- CVE-2024-45780 is a medium-severity vulnerability in GNU Grub2, classified under Out-of-bounds Write. CVSS score: 6.7/10. Published 2025-03-03.
- How severe is CVE-2024-45780?
- Medium severity. CVSS v3 base score is 6.7 out of 10.