CVE-2024-57257 Denial of service in U-Boot

Low 2.0 Published Updated

A crafted squashfs filesystem with deep symlink nesting causes stack consumption in U-Boot, leading to denial of service.

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

CVE-2024-57257 is a low-severity denial of service 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

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.

Weakness: CWE-674

Which versions are affected by CVE-2024-57257?

It affects 1 product.

Products include Denx U-Boot.

How do I fix CVE-2024-57257?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-57257 being exploited?

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

Sources

Also known as DEBIAN-CVE-2024-57257, GHSA-8h8c-f86r-pf3c, UBUNTU-CVE-2024-57257.

Is CVE-2024-57257 in your software?

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

Check your SBOMs for free