CVE-2025-1125
highpriority · track · 0EPSS 0.004 · 37 %ileDEEURUUSEPSS · scored 2026-10-23
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (52)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0396Grub: Mehrere SchwachstellenDeutsch2025-02-18csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Grub ausnutzen, um beliebigen Code auszuführen, einen Denial-of-Service-Zustand zu erzeugen, Daten zu manipulieren, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen preiszugeben oder nicht spezifizierte Auswirkungen zu verursachen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2025-1125cnnvd
- https://access.redhat.com/security/cve/cve-2025-1125cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2346138cnnvd
- https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-1125cnnvd
- https://www.gnu.org/software/grub/grub-download.htmlPatchcnnvd
- https://access.redhat.com/security/cve/CVE-2025-1125enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2346138enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan