CVE-2024-57256 Integer overflow in U-Boot

High 7.1 Published Updated

An integer overflow in U-Boot's ext4 symlink handling allows attackers to trigger memory overwrites via crafted filesystems, potentially leading to code execution.

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-57256?

CVE-2024-57256 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 ext4fs_read_symlink in Das U-Boot before 2025.01-rc1 occurs for zalloc (adding one to an le32 variable) via a crafted ext4 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-57256?

It affects 1 product.

Products include Denx U-Boot.

How do I fix CVE-2024-57256?

Upgrade to a fixed version.

Is CVE-2024-57256 being exploited?

There is no known exploitation of CVE-2024-57256 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-57256, GHSA-vmjq-93g5-fvqc, UBUNTU-CVE-2024-57256.

Is CVE-2024-57256 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free