CVE-2024-45779: Grub2: fs/bfs: integer overflow leads to heap oob read in the bfs parser

Published Feb 14, 2025
·
Updated

An integer overflow flaw was found in the BFS file system driver in grub2. When reading a file with an indirect extent map, grub2 fails to validate the number of extent entries to be read. A crafted or corrupted BFS filesystem may cause an integer overflow during the file reading, leading to a heap of bounds read. As a consequence, sensitive data may be leaked, or grub2 will crash.

Other sources

Grub2: fs/bfs: integer overflow leads to heap oob read in the bfs parser

Microsoft

There's an integer overflow in the BFS file system driver. When reading a file with indirect extent map grub2 fails to validate the number of extent entries to be read. A crafted or corrupted BFS filesystem may cause a integer overflow during the file reading, leading to a Heap Ouf-of-Bounds read. As consequence sensitive data may be leaked or the grub2 to crash.

Red Hat

Affected Software

6 affected componentsFixes available
GNU GRUB2
GNU GRUB2<=2.12
Microsoft cbl2 grub2 2.06-15<2.06-15
2.06-15
Microsoft azl3 grub2 2.06-25<2.06-25
2.06-25
Microsoft cbl2 grub2 2.06-14<2.06-15
2.06-15
Microsoft azl3 grub2 2.06-24<2.06-25
2.06-25

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.06-15
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.06-25

Event History

Feb 14, 2025
Data Sourced
via Red Hat·09:19 PM
DescriptionSeverityAffected Software
Mar 3, 2025
CVE Published
via MITRE·02:25 PM
Data Sourced
via MITRE·02:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·01:42 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:42 PM
Affected Software
Updated
via Microsoft·01:42 PM
Affected Software
Updated
via Microsoft·01:42 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-45779?

CVE-2024-45779 has been rated as a medium severity vulnerability.

2

How do I fix CVE-2024-45779?

To mitigate CVE-2024-45779, upgrade to the latest version of the grub2 package that includes the security patch.

3

What systems are affected by CVE-2024-45779?

CVE-2024-45779 affects systems using the GNU grub2 file system driver, particularly those with a BFS filesystem.

4

What impact does CVE-2024-45779 have?

CVE-2024-45779 can potentially lead to system crashes or improper file handling due to an integer overflow during file reading.

5

Is CVE-2024-45779 exploit possible?

Yes, CVE-2024-45779 can be exploited if a malicious or corrupted BFS filesystem is used.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203