---
id: CVE-2024-45779
title: An integer overflow flaw was found in the BFS file system driver in grub2
summary: >-
  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 …
severity: medium
cvss: 6
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-190
  - CWE-190
vendor: gnu
product: grub2
affected:
  - grub2 <= 2.12
published: '2025-03-03'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45779'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2024-45779'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2345854'
    label: secalert@redhat.com
  - url: 'https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00286
epssPercentile: 0.21419
ingestedAt: '2026-06-29T13:24:34.176Z'
---

## Overview

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.

## Affected

- `grub2 <= 2.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
