CVE-2025-1125 — Out-of-bounds Write in Grub2
Severity
7.8HIGHNVD
EPSS
0.1%
top 80.52%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 3
Latest updateMar 11
Description
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 …
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9
🔴Vulnerability Details
3GHSA▶
GHSA-jqm6-8ggx-r3ww: When reading data from a hfs filesystem, grub's hfs filesystem module uses user-controlled parameters from the filesystem metadata to calculate the in↗2025-03-03
OSV▶
CVE-2025-1125: When reading data from a hfs filesystem, grub's hfs filesystem module uses user-controlled parameters from the filesystem metadata to calculate the in↗2025-03-03
📋Vendor Advisories
3Debian▶
CVE-2025-1125: grub2 - When reading data from a hfs filesystem, grub's hfs filesystem module uses user-...↗2025