CVE-2024-45778
published 2025-03-03CVE-2024-45778: A stack overflow flaw was found when reading a BFS file system. A crafted BFS filesystem may lead to an uncontrolled loop, causing grub2 to crash.
PriorityP422medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.27%
19.1th percentile
A stack overflow flaw was found when reading a BFS file system. A crafted BFS filesystem may lead to an uncontrolled loop, causing grub2 to crash.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | grub2 | < grub2 2.12-6 (forky) | grub2 2.12-6 (forky) |
| gnu | grub2 | <= 2.12 | — |
| gnu | grub2 | >= 0 < 2.12-6 | 2.12-6 |
| gnu | grub2 | >= 0 < 2.12-6 | 2.12-6 |
| msrc | azl3_grub2_2.06-24_on_azure_linux_3.0 | — | — |
| msrc | azl3_grub2_2.06-25_on_azure_linux_3.0 | — | — |
| msrc | cbl2_grub2_2.06-14_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_grub2_2.06-15_on_cbl_mariner_2.0 | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | openshift_container_platform | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian4.1MEDIUM
vendor_msrc4.1MEDIUM
vendor_redhat4.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
Grub2: fs/bfs: integer overflow in the bfs parser.
vendor_msrc·2025-03-11·CVSS 4.1
CVE-2024-45778 [MEDIUM] CWE-190 Grub2: fs/bfs: integer overflow in the bfs parser.
Grub2: fs/bfs: integer overflow in the bfs parser.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.mi
Red Hat
grub2: fs/bfs: Integer overflow in the BFS parser.
vendor_redhat·2025-02-18·CVSS 4.1
CVE-2024-45778 [MEDIUM] CWE-190 grub2: fs/bfs: Integer overflow in the BFS parser.
grub2: fs/bfs: Integer overflow in the BFS parser.
A stack overflow flaw was found when reading a BFS file system. A crafted BFS filesystem may lead to an uncontrolled loop, causing grub2 to crash.
A stack overflow flaw was found when reading a BFS file system. A crafted BFS filesystem may lead to an uncontrolled loop, causing grub2 to crash.
Statement: Red Hat supported products are not affected by this vulnerability,as the grub2 versions as shipped with it does not include the BFS filesystem module.
Mitigation: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Package: grub2 (Red Hat Enterprise Linux 1
Debian
CVE-2024-45778: grub2 - A stack overflow flaw was found when reading a BFS file system. A crafted BFS fi...
vendor_debian·2024·CVSS 4.1
CVE-2024-45778 [MEDIUM] CVE-2024-45778: grub2 - A stack overflow flaw was found when reading a BFS file system. A crafted BFS fi...
A stack overflow flaw was found when reading a BFS file system. A crafted BFS filesystem may lead to an uncontrolled loop, causing grub2 to crash.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 2.12-6)
sid: resolved (fixed in 2.12-6)
trixie: resolved (fixed in 2.12-6)
OSV
CVE-2024-45778: A stack overflow flaw was found when reading a BFS file system
osv·2025-03-03·CVSS 5.5
CVE-2024-45778 [MEDIUM] CVE-2024-45778: A stack overflow flaw was found when reading a BFS file system
A stack overflow flaw was found when reading a BFS file system. A crafted BFS filesystem may lead to an uncontrolled loop, causing grub2 to crash.
GHSA
GHSA-vpmj-h28j-ffpp: A stack overflow flaw was found when reading a BFS file system
ghsa_unreviewed·2025-03-03
CVE-2024-45778 [MEDIUM] CWE-190 GHSA-vpmj-h28j-ffpp: A stack overflow flaw was found when reading a BFS file system
A stack overflow flaw was found when reading a BFS file system. A crafted BFS filesystem may lead to an uncontrolled loop, causing grub2 to crash.
No detection rules found.
No public exploits indexed.
2025-03-03
Published