---
id: CVE-2024-45778
title: A stack overflow flaw was found when reading a BFS file system
summary: >-
  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.
severity: medium
cvss: 4.1
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-190
  - CWE-190
vendor: gnu
product: grub2
affected:
  - grub2 <= 2.12
  - openshift_container_platform = 4.0
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
published: '2025-03-03'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45778'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2024-45778'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2345640'
    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.00288
epssPercentile: 0.21683
ingestedAt: '2026-06-29T13:24:34.180Z'
---

## Overview

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

- `grub2 <= 2.12`
- `openshift_container_platform = 4.0`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`

## Remediation

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