There is an issue on grub2 before version 2.06 at function read_section_as_string(). It expects a font name to be at max UINT32_MAX - 1 length in bytes but it doesn't verify it before proceed with buffer allocation to read the value from the font value. An attacker may leverage that by crafting a malicious font file which has a name with UINT32_MAX leading to read_section_as_string() to an arithmetic overflow zero-sized allocation and further heap-based buffer overflow.
🔗 CVE IDs covered (1)
📋 Description
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability? One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
🎯 Affected products3
- azl3 grub2 2.06-23 on Azure Linux 3.0
- cbl2 grub2 2.06~rc1-7 on CBL Mariner 2.0
- cm1 grub2 2.06~rc1-4 on CBL Mariner 1.0
✅ Remediation
KBCBL-Mariner Releases (Security Update) — fixed build 2.06-23 KBCBL-Mariner Releases (Security Update) — fixed build - KBCBL-Mariner Releases (Security Update) — fixed build 2.06~rc1-7