CVE-2025-1125

grub2: When reading data from a hfs filesystem, grub's hfs filesystem module uses user-controlled parameters from the filesy...

CVE-2025-1125 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: High.

High
CVSS
7.8
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0045
39th percentile

When reading data from a hfs filesystem, grub's hfs filesystem module uses user-controlled parameters from the filesystem metadata to calculate the internal buffers size, however it misses to properly check for integer overflows. A maliciouly crafted filesystem may lead some of those buffer size calculation to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result the hfsplus_open_compressed_real() function will write past of the internal buffer length. This flaw may be leveraged to corrupt grub's internal critical data and may result in arbitrary code execution by-passing secure boot protections.

Where it's fixed

ProductFixed inFixReleased
Linux
grub2 · Debian 12.15 (bookworm) 2.06-13+deb12u2 DEBIAN-CVE-2025-1125 Mar 3, 2025
grub2 · Debian 13.5 (trixie) 2.12-6 DEBIAN-CVE-2025-1125 Mar 3, 2025
grub2 · Debian 14 2.12-6 DEBIAN-CVE-2025-1125 Mar 3, 2025
grub2 · opensuse-leap 15.6 2.12-150600.8.18.2 SUSE-SU-2025:0586-1 Feb 19, 2025
grub2 · sles 15.6 2.12-150600.8.18.2 SUSE-SU-2025:0586-1 Feb 19, 2025
grub2-common · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-debuginfo · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-debugsource · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-efi-aa64 · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-efi-aa64-cdboot · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-efi-aa64-ec2 · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-efi-aa64-modules · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-efi-x64 · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-efi-x64-cdboot · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-efi-x64-ec2 · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-efi-x64-modules · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-emu · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-emu-debuginfo · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-emu-modules · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-pc · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-pc-modules · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-tools · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-tools-debuginfo · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-tools-efi · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-tools-efi-debuginfo · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-tools-extra · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-tools-extra-debuginfo · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-tools-minimal · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025
grub2-tools-minimal-debuginfo · amzn 2023 1:2.06-61.amzn2023.0.16 ALAS2023-2025-937 Apr 9, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

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.