CVE-2024-57257
published 2025-02-18CVE-2024-57257: 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.
PriorityP47low2.4CVSS 3.1
AVPACLPRNUINSUCNINAL
EPSS
0.31%
23.1th percentile
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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | u-boot | < u-boot 2023.01+dfsg-2+deb12u2 (bookworm) | u-boot 2023.01+dfsg-2+deb12u2 (bookworm) |
| denx | u-boot | < 2025.01-rc1 | 2025.01-rc1 |
| denx | u-boot | <= 2024.10 | — |
| denx | u-boot | >= 0 < 2021.01+dfsg-5+deb11u1 | 2021.01+dfsg-5+deb11u1 |
| denx | u-boot | >= 0 < 2023.01+dfsg-2+deb12u2 | 2023.01+dfsg-2+deb12u2 |
| denx | u-boot | >= 0 < 2025.01-1 | 2025.01-1 |
| denx | u-boot | >= 0 < 2025.01-1 | 2025.01-1 |
| denx | u-boot | >= 0 < 2022.01+dfsg-2ubuntu2.7 | 2022.01+dfsg-2ubuntu2.7 |
| denx | u-boot | >= 0 < 2025.10-0ubuntu0.24.04.2 | 2025.10-0ubuntu0.24.04.2 |
| msrc | azl3_qemu_8.2.0-16_on_azure_linux_3.0 | — | — |
| msrc | cbl2_qemu_6.2.0-24_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.12.4LOWCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
osv8.1HIGH
vendor_ubuntu8.1HIGH
vendor_debian2.0LOW
vendor_msrc2.0LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
U-Boot vulnerabilities
vendor_ubuntu·2026-02-23·CVSS 8.1
CVE-2024-57257 [HIGH] U-Boot vulnerabilities
Title: U-Boot vulnerabilities
Summary: Several security issues were fixed in U-Boot.
Simon Diepold discovered that U-Boot incorrectly handled certain DHCP
responses. An attacker on the local network could possibly use this issue
to obtain sensitive memory contents. (CVE-2024-42040)
It was discovered that U-Boot incorrectly handled symlink size calculations
in squashfs file systems. An attacker could use this issue with a specially
crafted squashfs file system to cause U-Boot to crash, resulting in a denial
of service, or execute arbitrary code. (CVE-2024-57254)
It was discovered that U-Boot incorrectly handled inode size calculations
in squashfs file systems. An attacker could use this issue with a specially
crafted squashfs file system to cause U-Boot to crash, resulting in a denial
o
Microsoft
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.
vendor_msrc·2025-02-11·CVSS 2.0
CVE-2024-57257 [LOW] CWE-674 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Custom
Debian
CVE-2024-57257: u-boot - A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs v...
vendor_debian·2024·CVSS 2.0
CVE-2024-57257 [LOW] CVE-2024-57257: u-boot - A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs v...
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.
Scope: local
bookworm: resolved (fixed in 2023.01+dfsg-2+deb12u2)
bullseye: resolved (fixed in 2021.01+dfsg-5+deb11u1)
forky: resolved (fixed in 2025.01-1)
sid: resolved (fixed in 2025.01-1)
trixie: resolved (fixed in 2025.01-1)
OSV
u-boot vulnerabilities
osv·2026-02-23·CVSS 8.1
CVE-2024-42040 [HIGH] u-boot vulnerabilities
u-boot vulnerabilities
Simon Diepold discovered that U-Boot incorrectly handled certain DHCP
responses. An attacker on the local network could possibly use this issue
to obtain sensitive memory contents. (CVE-2024-42040)
It was discovered that U-Boot incorrectly handled symlink size calculations
in squashfs file systems. An attacker could use this issue with a specially
crafted squashfs file system to cause U-Boot to crash, resulting in a denial
of service, or execute arbitrary code. (CVE-2024-57254)
It was discovered that U-Boot incorrectly handled inode size calculations
in squashfs file systems. An attacker could use this issue with a specially
crafted squashfs file system to cause U-Boot to crash, resulting in a denial
of service, or execute arbitrary code. (CVE-2024-57255)
It was
GHSA
GHSA-8h8c-f86r-pf3c: A stack consumption issue in sqfs_size in Das U-Boot before 2025
ghsa_unreviewed·2025-02-19
CVE-2024-57257 [LOW] CWE-674 GHSA-8h8c-f86r-pf3c: A stack consumption issue in sqfs_size in Das U-Boot before 2025
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.
OSV
CVE-2024-57257: A stack consumption issue in sqfs_size in Das U-Boot before 2025
osv·2025-02-18·CVSS 2.4
CVE-2024-57257 [LOW] CVE-2024-57257: A stack consumption issue in sqfs_size in Das U-Boot before 2025
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-02-18
Published