Description
U-Boot before 2026.10-rc4 contains an integer overflow vulnerability in sqfs_read_directory_table() function when allocating the directory table buffer. Attackers can supply a crafted SquashFS image with an attacker-controlled superblock metablks_count value that causes heap buffer under-allocation and out-of-bounds writes, corrupting heap memory and crashing the bootloader.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
u-boot u-boot
Default version status: unaffected
0 to < 2026.10-rc4affected
pkg:github/u-boot/u-bootReferences
- https://github.com/u-boot/u-boot/commit/561ae28cb56a082cfa90c1c421c4955bc215470b ↗
- https://github.com/u-boot/u-boot/blob/v2026.07/fs/squashfs/sqfs.c#L814 ↗
- https://github.com/u-boot/u-boot ↗
- https://www.vulncheck.com/advisories/u-boot-before-2026.10-rc4-integer-overflow-in-squashfs-directory-table-allocation ↗