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.
- CVSS:
- 6.7 (nvd)
- Vector:
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS:
- 0.30% (percentile 23.4)
- CWE:
- CWE-787
- Published:
- Modified:
- First seen:
- NVD status:
- Deferred