CVE-2024-57255 Integer overflow in U-Boot
An integer overflow in U-Boot allows attackers to cause memory corruption and potentially execute code via a crafted squashfs filesystem.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-57255?
CVE-2024-57255 is a high-severity vulnerability in denx U-Boot, published on 18 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An integer overflow in sqfs_resolve_symlink in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with an inode size of 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.
Weakness: CWE-190
Which versions are affected by CVE-2024-57255?
It affects 1 product.
Products include Denx U-Boot.
How do I fix CVE-2024-57255?
Upgrade to a fixed version.
Is CVE-2024-57255 being exploited?
There is no known exploitation of CVE-2024-57255 in the wild and no public exploit code.
Other vulnerabilities in denx U-Boot
Sources
Also known as DEBIAN-CVE-2024-57255, GHSA-5cmq-wrwp-9x26, UBUNTU-CVE-2024-57255.