Description (CNA)
When reading the language .mo file in grub_mofile_open(), grub2 fails to verify an integer overflow when allocating its internal buffer. A crafted .mo file may lead the buffer size calculation to overflow, leading to out-of-bound reads and writes. This flaw allows an attacker to leak sensitive data or overwrite critical data, possibly circumventing secure boot protections.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Not supplied / Not supplied | affected 0 through 2.12 |
| Red Hat / Red Hat Enterprise Linux 10 | unaffected 1:2.12-15.el10_0 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 1:2.06-104.el9_6 before * |
| Red Hat / Red Hat Enterprise Linux 7 | unaffected |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected |
| Red Hat / Red Hat OpenShift Container Platform 4 | affected |
CWE
CWE-787
References
- https://access.redhat.com/errata/RHSA-2025:16154
- https://access.redhat.com/errata/RHSA-2025:6990
- https://access.redhat.com/security/cve/CVE-2024-45776
- https://bugzilla.redhat.com/show_bug.cgi?id=2339182
ADP enrichment
No English description supplied.
No references supplied.