CVE-2024-57254 Integer overflow in U-Boot

High 7.1 Published Updated

An integer overflow in U-Boot's squashfs handling allows attackers to cause denial of service or execute code via a crafted 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-57254?

CVE-2024-57254 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_inode_size in Das U-Boot before 2025.01-rc1 occurs in the symlink size calculation via a crafted squashfs filesystem.

Weakness: CWE-190

Which versions are affected by CVE-2024-57254?

It affects 1 product.

Products include Denx U-Boot.

How do I fix CVE-2024-57254?

Upgrade to a fixed version.

Is CVE-2024-57254 being exploited?

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

Sources

Also known as DEBIAN-CVE-2024-57254, GHSA-66gw-8528-j2rp, UBUNTU-CVE-2024-57254.

Is CVE-2024-57254 in your software?

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

Check your SBOMs for free