---
id: CVE-2024-45781
title: A flaw was found in grub2
summary: >-
  A flaw was found in grub2. When reading a symbolic link's name from a UFS
  filesystem, grub2 fails to validate the string length taken as an input. The
  lack of validation may lead to a heap out-of-bounds write, causing data
  integrity issu…
severity: medium
cvss: 6.7
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
published: '2025-02-18'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45781'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:16154'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:6990'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2024-45781'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2345857'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00255
epssPercentile: 0.15195
ingestedAt: '2026-06-29T13:24:34.157Z'
---

## Overview

A flaw was found in grub2. When reading a symbolic link's name from a UFS filesystem, grub2 fails to validate the string length taken as an input. The lack of validation may lead to a heap out-of-bounds write, causing data integrity issues and eventually allowing an attacker to circumvent secure boot protections.

## Remediation

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