Skip to main content
EPSS 0.4%top 70%

CVE-2024-57256: CWE-190 Integer Overflow or Wraparound in denx U-Boot

0
High
VulnerabilityCVE-2024-57256cvecve-2024-57256cwe-190
Published: 02/18/2025 (02/18/2025, 00:00:00 UTC)
Source: CVE Database V5
Vendor/Project: denx
Product: 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

Attack Vector
Physical
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
denx/u-boot
pkg:github/denx/u-boot
Affected versions
=2025.01-rc1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/13/2026, 02:30:02 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses