Integer overflow in Universal Boot Loader (U-Boot) - CVE-2024-57254
Published: March 4, 2025
Vulnerability identifier: #VU105292
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-57254
CWE-ID: CWE-190
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to integer overflow within the sqfs_inode_size() function when calculating a symlink size. A local user can create a specially crafted symbolic link, trigger an integer overflow and execute arbitrary code with elevated privileges.
Affected software
Universal Boot Loader (U-Boot)
openEuler
Ubuntu
uboot-tools-help
uboot-images-armv8
uboot-tools-debugsource
uboot-tools-debuginfo
uboot-images-elf
uboot-tools
u-boot (Ubuntu package)
openEuler
Ubuntu
uboot-tools-help
uboot-images-armv8
uboot-tools-debugsource
uboot-tools-debuginfo
uboot-images-elf
uboot-tools
u-boot (Ubuntu package)
How to mitigate CVE-2024-57254
Install updates from vendor's website.
Universal Boot Loader (U-Boot) - update to 2025.01 rc1
uboot-tools-help - addressed in versions 2021.10-9, 2024.01-2
uboot-images-armv8 - addressed in versions 2021.10-9, 2024.01-2
uboot-tools-debugsource - addressed in versions 2021.10-9, 2024.01-2
uboot-tools-debuginfo - addressed in versions 2021.10-9, 2024.01-2
uboot-images-elf - addressed in versions 2021.10-9, 2024.01-2
uboot-tools - addressed in versions 2021.10-9, 2024.01-2
u-boot (Ubuntu package) - addressed in versions 2022.01+dfsg-2ubuntu2.7, 2025.10-0ubuntu0.24.04.2
uboot-tools-help - addressed in versions 2021.10-9, 2024.01-2
uboot-images-armv8 - addressed in versions 2021.10-9, 2024.01-2
uboot-tools-debugsource - addressed in versions 2021.10-9, 2024.01-2
uboot-tools-debuginfo - addressed in versions 2021.10-9, 2024.01-2
uboot-images-elf - addressed in versions 2021.10-9, 2024.01-2
uboot-tools - addressed in versions 2021.10-9, 2024.01-2
u-boot (Ubuntu package) - addressed in versions 2022.01+dfsg-2ubuntu2.7, 2025.10-0ubuntu0.24.04.2