CVE-2024-57256: CWE-190 Integer Overflow or Wraparound in denx U-Boot
An integer overflow in ext4fs_read_symlink in Das U-Boot before 2025.01-rc1 occurs for zalloc (adding one to an le32 variable) via a crafted ext4 filesystem with an inode size of 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.
AI Analysis
Technical Summary
An integer overflow vulnerability (CWE-190) exists in the ext4fs_read_symlink function of denx U-Boot before version 2025.01-rc1. The issue arises from adding one to a 32-bit little-endian variable representing inode size set to 0xffffffff in a crafted ext4 filesystem, causing the allocation size to wrap around to zero. This leads to a malloc of zero bytes and subsequent memory overwrite, potentially allowing an attacker to compromise system integrity or availability. The vulnerability is remotely exploitable with high attack complexity and no privileges required, as indicated by the CVSS vector (AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H).
Potential Impact
Successful exploitation can lead to memory corruption due to a zero-byte allocation and overwrite, impacting confidentiality, integrity, and availability of the affected system running vulnerable U-Boot versions. The vulnerability is rated high severity with a CVSS score of 7.1. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor denx U-Boot official channels for updates or patches addressing this vulnerability. Until a fix is available, avoid loading untrusted ext4 filesystems in affected U-Boot versions to mitigate risk.
CVE-2024-57256: CWE-190 Integer Overflow or Wraparound in denx U-Boot
Description
An integer overflow in ext4fs_read_symlink in Das U-Boot before 2025.01-rc1 occurs for zalloc (adding one to an le32 variable) via a crafted ext4 filesystem with an inode size of 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.
CVSS v3.1
Score 7.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
An integer overflow vulnerability (CWE-190) exists in the ext4fs_read_symlink function of denx U-Boot before version 2025.01-rc1. The issue arises from adding one to a 32-bit little-endian variable representing inode size set to 0xffffffff in a crafted ext4 filesystem, causing the allocation size to wrap around to zero. This leads to a malloc of zero bytes and subsequent memory overwrite, potentially allowing an attacker to compromise system integrity or availability. The vulnerability is remotely exploitable with high attack complexity and no privileges required, as indicated by the CVSS vector (AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H).
Potential Impact
Successful exploitation can lead to memory corruption due to a zero-byte allocation and overwrite, impacting confidentiality, integrity, and availability of the affected system running vulnerable U-Boot versions. The vulnerability is rated high severity with a CVSS score of 7.1. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor denx U-Boot official channels for updates or patches addressing this vulnerability. Until a fix is available, avoid loading untrusted ext4 filesystems in affected U-Boot versions to mitigate risk.
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: 690908557fff0e30cee2396e
Added to database: 11/03/2025, 19:53:57 UTC
Last enriched: 05/13/2026, 02:30:02 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 185
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.