Skip to main content
EPSS 0.2%top 85%

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

0
High
Published: 02/18/2025 (02/18/2025, 23:15:00 UTC)
Source: CVE Database V5
Vendor/Project: denx
Product: 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

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

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

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

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.

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: 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 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