{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-1125","published":"2025-03-03T15:15:16.300000Z","last_modified":"2026-11-24T07:17:19.223000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":false},"auth":true,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:gnu:grub2:*:*:*:*:*:*:*:*","part":"a","vendor":"gnu","product":"grub2","version_end_including":"2.12"}],"cpes_truncated":false,"vendors":["gnu"],"products":["gnu/grub2"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00416,"percentile":0.27608,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-1125/","html_en":"/en/cve/CVE-2025-1125/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-1125","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-1125"},"untrusted":{"vendor_name":"Gnu","product_name":"Grub2","desc_en":"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.","affected":[{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 10","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 7","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 8","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 9","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4","versions":[]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-1125","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2346138","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html","tags":["Mailing List","Vendor Advisory"]}]}}