CVE-2024-57257 json
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.
published 2025-02-18 20 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-4761
- cvss
- 2.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- denx U-Boot 2025.01-rc1
- u-boot Debian 12 2023.01+dfsg-2+deb12u2
- u-boot Debian 14, Debian 13 2025.01-1
debian advisories DEBIAN-CVE-2024-57257
- u-boot Ubuntu 22.04 LTS 2022.01+dfsg-2ubuntu2.7
- u-boot Ubuntu 24.04 LTS 2025.10-0ubuntu0.24.04.2
ubuntu advisories UBUNTU-CVE-2024-57257
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-57257 updated cvss 2.0
u-boot: Stack Overflow in Das U-Boot's SquashFS Symlink Resolution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.0 | CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 2.4 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected products
- denx U-Boot
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
source.denx.de
/u-boot/u-boot/-/commit/4f5cc096bfd0a591f8a11e86999e3d90a9484c34
patch
-
openwall.com
/lists/oss-security/2025/02/17/2
mailing-list, mitigation, third-party-advisory
- lists.debian.org /debian-lts-announce/2025/05/msg00001.html
Sources
- CVE List CVE-2024-57257
- NVD CVE-2024-57257
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.