CVE-2024-57259
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2024-57259 affects Das U-Boot versions before 2025.01-rc1, where the sqfssearchdir function contains an off-by-one error that results in heap memory corruption during squashfs directory listing operations. The vulnerability occurs because the path separator is not considered in a size calculation (NVD, OSS Security).

Technical details

The vulnerability is classified as an off-by-one error (CWE-193) in the sqfssearchdir function. The issue arises because the buffer allocation for storing strings does not account for the path separator character, leading to heap memory corruption. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.1 (HIGH) with the vector string CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H (NVD).

Impact

The vulnerability allows an attacker capable of modifying squashfs filesystem data structures to exploit memory corruption in U-Boot. For systems relying on verified boot, this vulnerability enables attackers to bypass the chain of trust and achieve code execution (Security Online, OSS Security).

Mitigation and workarounds

Users are advised to upgrade to U-Boot version v2025.01-rc1 or newer. The vulnerability has been fixed in commit 048d795bb5b3d9c5701b4855f5e74bcf6849bf5e, which corrects the buffer size calculation to account for the path separator (U-Boot Commit, OSS Security).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67726HIGH7.5
  • Linux DebianLinux Debian
  • python-tornado
NoNoDec 12, 2025
CVE-2025-67725HIGH7.5
  • Linux DebianLinux Debian
  • python-tornado
NoNoDec 12, 2025
CVE-2025-67724MEDIUM5.4
  • Linux DebianLinux Debian
  • python-tornado
NoNoDec 12, 2025
CVE-2025-64702MEDIUM5.3
  • SyncthingSyncthing
  • buf
NoYesDec 11, 2025
CVE-2025-40345N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management