# CVE-2025-0686: grub2: A flaw was found in grub2

CVE-2025-0686 is fixed in 25 products on 1 platform, first by SUSE-SU-2025:0586-1, released February 19, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-0686
- Priority: Routine
- CVSS: 6.4 (medium)
- EPSS: 0.0029
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 19, 2025

## Description

A flaw was found in grub2. When performing a symlink lookup from a romfs filesystem, grub's romfs filesystem module uses user-controlled parameters from the filesystem geometry to determine the internal buffer size, however, it improperly checks for integer overflows. A maliciously crafted filesystem may lead some of those buffer size calculations to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result, the grub_romfs_read_symlink() may cause out-of-bounds writes when the calling grub_disk_read() function. This issue may be leveraged to corrupt grub's internal critical data and can result in arbitrary code execution by-passing secure boot protections.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | grub2 Debian 12.15 (bookworm) | 2.06-13+deb12u2 | [DEBIAN-CVE-2025-0686](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0686.md) | Mar 3, 2025 |
| Linux | grub2 Debian 13.5 (trixie) | 2.12-6 | [DEBIAN-CVE-2025-0686](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0686.md) | Mar 3, 2025 |
| Linux | grub2 Debian 14 | 2.12-6 | [DEBIAN-CVE-2025-0686](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0686.md) | Mar 3, 2025 |
| Linux | grub2 opensuse-leap 15.6 | 2.12-150600.8.18.2 | [SUSE-SU-2025:0586-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0586-1.md) | Feb 19, 2025 |
| Linux | grub2 sles 15.6 | 2.12-150600.8.18.2 | [SUSE-SU-2025:0586-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0586-1.md) | Feb 19, 2025 |
| Linux | grub2-common amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-debuginfo amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-debugsource amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-efi-aa64 amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-efi-aa64-cdboot amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-efi-aa64-ec2 amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-efi-aa64-modules amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-efi-x64 amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-efi-x64-cdboot amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-efi-x64-ec2 amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-efi-x64-modules amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-emu amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-emu-debuginfo amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-emu-modules amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-pc amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-pc-modules amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-tools amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-tools-debuginfo amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-tools-efi amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-tools-efi-debuginfo amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-tools-extra amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-tools-extra-debuginfo amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-tools-minimal amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |
| Linux | grub2-tools-minimal-debuginfo amzn 2023 | 1:2.06-61.amzn2023.0.16 | [ALAS2023-2025-937](https://patchblox.com/security/data/fix/linux/alas2023-2025-937.md) | Apr 9, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
