CVE-2024-45780 Grub2: fs/tar: integer overflow causes heap oob write
MediumCVSS 6.7
EPSS 0.29%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
18 packages: 7 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/grub2-signed(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-signed(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-signed(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-signed(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-unsigned(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-unsigned(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-unsigned(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-unsigned(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux grub2(Azure Linux 3.0) | < 2.06-25 | 2.06-25 | Fixed |
| cbl-mariner grub2(CBL-Mariner 2.0) | < 2.06-15 | 2.06-15 | Fixed |
| debian/grub2(Debian 12) | < 2.06-13+deb12u2; = 2.06-13; = 2.06-13+deb12u1 | 2.06-13+deb12u2 | Fixed |
| debian/grub2(Debian 13) | < 2.12-6 | 2.12-6 | Fixed |
| debian/grub2(Debian 14) | < 2.12-6 | 2.12-6 | Fixed |
| GNU grub2 | <= 2.12 | after 2.12 | Fixed |
| grub2 | <= 2.12 | after 2.12 | Fixed |
| redhat enterprise linux | = 8; = 9; = 10 | No fix listed | Versions listed |
| redhat openshift | = 4 | No fix listed | Versions listed |
| redhat rhel els | = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux grub2(Azure Linux:3.0) | < 2.06-25 | 2.06-25 |
| cbl-mariner grub2(CBL-Mariner:2.0) | < 2.06-15 | 2.06-15 |
| debian/grub2(Debian:12) | < 2.06-13+deb12u2 | 2.06-13+deb12u2 |
| debian/grub2(Debian:12) | = 2.06-13 | No fix listed |
| debian/grub2(Debian:12) | = 2.06-13+deb12u1 | No fix listed |
| debian/grub2(Debian:13) | < 2.12-6 | 2.12-6 |
| debian/grub2(Debian:14) | < 2.12-6 | 2.12-6 |
| ubuntu/grub2-signed(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:22.04) | All versions | No fix listed |
| grub2 | <= 2.12 | No fix listed |
| redhat enterprise linux | = 10 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat openshift | = 4 | No fix listed |
| ubuntu/grub2-signed(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/grub2-signed(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/grub2-signed(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:26.10) | All versions | No fix listed |
| GNU grub2 | <= 2.12 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2024-45780 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- access.redhat.com third-party-advisory vdb-entry
- RHBZ#2345856 issue-tracking
- lists.gnu.org mailing-list
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2025-5590 third-party-advisory