CVE-2024-57259
published 2025-02-18CVE-2024-57259: sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the…
PriorityP426medium6.8CVSS 3.1
AVPACLPRNUINSUCHIHAH
EPSS
0.36%
28.5th percentile
sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation.
Affected
9 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 |
| 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.16.8MEDIUMCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv6.8MEDIUM
vendor_ubuntu8.1HIGH
vendor_debian7.1HIGH
vendor_msrc7.1HIGH
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
sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size
vendor_msrc·2025-02-11·CVSS 7.1
CVE-2024-57259 [HIGH] CWE-193 sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size
sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation.
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 wi
Debian
CVE-2024-57259: u-boot - sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error an...
vendor_debian·2024·CVSS 7.1
CVE-2024-57259 [HIGH] CVE-2024-57259: u-boot - sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error an...
sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation.
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)
GHSA
GHSA-c2cp-78ww-6jm8: sqfs_search_dir in Das U-Boot before 2025
ghsa_unreviewed·2025-02-19
CVE-2024-57259 [HIGH] CWE-193 GHSA-c2cp-78ww-6jm8: sqfs_search_dir in Das U-Boot before 2025
sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation.
OSV
CVE-2024-57259: sqfs_search_dir in Das U-Boot before 2025
osv·2025-02-18·CVSS 6.8
CVE-2024-57259 [MEDIUM] CVE-2024-57259: sqfs_search_dir in Das U-Boot before 2025
sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-02-18
Published