cve.bz

CVE-2024-57259 denx u-boot: Off-by-one Error

6.8 mediumEPSS 0.4%Fix available

Medium (6.8) in denx u-boot. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-02-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-57259 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-57259?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-57259?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-57259 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
denx U-Bootbefore 2025.01-rc1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11u-boot2021.01+dfsg-5+deb11u1DLA-4150-1
Debian12u-boot2023.01+dfsg-2+deb12u2DEBIAN-CVE-2024-57259
Debian13, 14u-boot2025.01-1DEBIAN-CVE-2024-57259
Ubuntu22.04:LTSu-boot2022.01+dfsg-2ubuntu2.7UBUNTU-CVE-2024-57259 USN-8056-1
Ubuntu22.04:LTS, 24.04:LTSu-boot-nezhano fix listedUBUNTU-CVE-2024-57259
Ubuntu24.04:LTSu-boot2025.10-0ubuntu0.24.04.2UBUNTU-CVE-2024-57259 USN-8056-1
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSu-bootno fix listedUBUNTU-CVE-2024-57259

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON