---
id: CVE-2024-45774
title: A flaw was found in grub2
summary: >-
  A flaw was found in grub2. A specially crafted JPEG file can cause the JPEG
  parser of grub2 to incorrectly check the bounds of its internal buffers,
  resulting in an out-of-bounds write. The possibility of overwriting sensitive
  informatio…
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-45774'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:6990'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2024-45774'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2337461'
    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.00271
epssPercentile: 0.17327
ingestedAt: '2026-06-29T13:24:34.155Z'
---

## Overview

A flaw was found in grub2. A specially crafted JPEG file can cause the JPEG parser of grub2 to incorrectly check the bounds of its internal buffers, resulting in an out-of-bounds write. The possibility of overwriting sensitive information to bypass secure boot protections is not discarded.

## Remediation

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