# CVE-2024-57259: sqfssearchdir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory lis…

- Severity: High 7.1 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 37% of CVEs (2026-11-30)
- Published: 2025-02-18T00:00:00.000Z
- Modified: 2026-06-17T08:13:28.453Z
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- denx U-Boot: before 2025.01-rc1; up to 2024.10

## Every score

- mitre: CVSS:3.1 7.1 High `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://source.denx.de/u-boot/u-boot/-/commit/048d795bb5b3d9c5701b4855f5e74bcf6849bf5e> (patch)
- <https://www.openwall.com/lists/oss-security/2025/02/17/2> (mailing-list, mitigation, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00001.html>

## Sources

- CVE List: [CVE-2024-57259](https://www.cve.org/CVERecord?id=CVE-2024-57259), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2024-57259](https://nvd.nist.gov/vuln/detail/CVE-2024-57259), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-57259 · Whole record: https://cve.day/CVE-2024-57259.json · Rebuilt by cve.day 2026-11-25T22:58:51.843Z
