CVE-2024-57258 Integer overflow in U-Boot
Integer overflows in U-Boot memory allocation allow attackers to cause denial of service or execute code via crafted squashfs filesystems.
- 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-57258?
CVE-2024-57258 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
Integer overflows in memory allocation in Das U-Boot before 2025.01-rc1 occur for a crafted squashfs filesystem via sbrk, via request2size, or because ptrdiff_t is mishandled on x86_64.
Weakness: CWE-190
Which versions are affected by CVE-2024-57258?
It affects 1 product.
Products include Denx U-Boot.
How do I fix CVE-2024-57258?
Upgrade to a fixed version.
Is CVE-2024-57258 being exploited?
There is no known exploitation of CVE-2024-57258 in the wild and no public exploit code.
Other vulnerabilities in denx U-Boot
Sources
Also known as DEBIAN-CVE-2024-57258, GHSA-grrx-h759-85hh, UBUNTU-CVE-2024-57258.