CVE-2024-57258: CWE-190 Integer Overflow or Wraparound in denx U-Boot
Integer overflows in memory allocation in Das U-Boot before 2025.01-rc1 occur for a crafted squashfs filesystem via sbrk, via request2size, or because ptrdiff_t is mishandled on x86_64.
AI Analysis
Technical Summary
This vulnerability involves integer overflows in the memory allocation logic of denx U-Boot prior to version 2025.01-rc1. Specifically, crafted squashfs filesystems can trigger overflows via the sbrk function, the request2size calculation, or due to incorrect handling of the ptrdiff_t type on x86_64 platforms. These overflows can cause wraparound conditions leading to memory corruption with potential high impact on system confidentiality, integrity, and availability. The CVSS 3.1 base score is 7.1, reflecting high severity with attack vector requiring physical presence (AV:P), high attack complexity, no privileges required, no user interaction, and scope changed. No patch or official remediation guidance is currently documented.
Potential Impact
Successful exploitation of this integer overflow can result in memory corruption, potentially allowing an attacker to compromise system confidentiality, integrity, and availability. The vulnerability affects U-Boot bootloader versions before 2025.01-rc1 when processing malicious squashfs filesystems. The CVSS score of 7.1 indicates a high impact, but exploitation requires physical access or local presence due to the attack vector being physical (AV:P). No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or fix is currently documented, users should avoid loading untrusted squashfs filesystems in affected U-Boot versions and monitor denx communications for updates. No temporary or official fixes are currently available according to the provided data.
CVE-2024-57258: CWE-190 Integer Overflow or Wraparound in denx U-Boot
Description
Integer overflows in memory allocation in Das U-Boot before 2025.01-rc1 occur for a crafted squashfs filesystem via sbrk, via request2size, or because ptrdiff_t is mishandled on x86_64.
CVSS v3.1
Score 7.1high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves integer overflows in the memory allocation logic of denx U-Boot prior to version 2025.01-rc1. Specifically, crafted squashfs filesystems can trigger overflows via the sbrk function, the request2size calculation, or due to incorrect handling of the ptrdiff_t type on x86_64 platforms. These overflows can cause wraparound conditions leading to memory corruption with potential high impact on system confidentiality, integrity, and availability. The CVSS 3.1 base score is 7.1, reflecting high severity with attack vector requiring physical presence (AV:P), high attack complexity, no privileges required, no user interaction, and scope changed. No patch or official remediation guidance is currently documented.
Potential Impact
Successful exploitation of this integer overflow can result in memory corruption, potentially allowing an attacker to compromise system confidentiality, integrity, and availability. The vulnerability affects U-Boot bootloader versions before 2025.01-rc1 when processing malicious squashfs filesystems. The CVSS score of 7.1 indicates a high impact, but exploitation requires physical access or local presence due to the attack vector being physical (AV:P). No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or fix is currently documented, users should avoid loading untrusted squashfs filesystems in affected U-Boot versions and monitor denx communications for updates. No temporary or official fixes are currently available according to the provided data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2025-01-09T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 690908557fff0e30cee23979
Added to database: 11/03/2025, 19:53:57 UTC
Last enriched: 05/13/2026, 02:30:14 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 166
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.