Skip to main content
EPSS 0.4%top 71%

An integer overflow in sqfs_resolve_symlink in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with an inode size of… (CVE-2024-57255)

0
Medium
Published: 02/18/2025 (02/18/2025, 23:15:00 UTC)
Source: GCVE Database
Product: u-boot

Description

An integer overflow vulnerability exists in the sqfs_resolve_symlink function of Das U-Boot before version 2025.01-rc1. This occurs when processing a crafted squashfs filesystem with an inode size of 0xffffffff, leading to a malloc of zero bytes and a subsequent memory overwrite. This flaw can cause U-Boot to crash or potentially allow arbitrary code execution. The issue affects multiple Ubuntu package versions of U-Boot and has been assigned CVE-2024-57255. A patch is available to address this vulnerability.

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

Ubuntu:16.04:LTSmore threats →ghsa
u-boot
pkg:deb/ubuntu/u-boot?arch=source&distro=xenial
Affected versions
=2015.04+dfsg1-2ubuntu1=2015.10+dfsg1-2=2015.10+dfsg1-3=2015.10+dfsg1-4=2016.01+dfsg1-1=2016.01+dfsg1-1ubuntu1=2016.01+dfsg1-2ubuntu1=2016.01+dfsg1-2ubuntu2=2016.01+dfsg1-2ubuntu3=2016.01+dfsg1-2ubuntu5
Ubuntu:18.04:LTSmore threats →ghsa
u-boot
pkg:deb/ubuntu/u-boot?arch=source&distro=bionic
Affected versions
=2016.03+dfsg1-6ubuntu2=2018.07~rc3+dfsg1-0ubuntu1~18.04.1=2018.07~rc3+dfsg1-0ubuntu2~18.04.1=2018.07~rc3+dfsg1-0ubuntu3~18.04.1=2019.07+dfsg-1ubuntu4~18.04.1=2020.10+dfsg-1ubuntu0~18.04.2=2020.10+dfsg-1ubuntu0~18.04.3
Ubuntu:20.04:LTSmore threats →ghsa
u-boot
pkg:deb/ubuntu/u-boot?arch=source&distro=focal
Affected versions
=2019.07+dfsg-1ubuntu3=2019.07+dfsg-1ubuntu5=2019.07+dfsg-1ubuntu6=2020.10+dfsg-1ubuntu0~20.04.2=2021.01+dfsg-3ubuntu0~20.04.1=2021.01+dfsg-3ubuntu0~20.04.3=2021.01+dfsg-3ubuntu0~20.04.4=2021.01+dfsg-3ubuntu0~20.04.5=2021.01+dfsg-3ubuntu0~20.04.6
Ubuntu:22.04:LTSmore threats →ghsa
u-boot
pkg:deb/ubuntu/u-boot?arch=source&distro=jammy
Affected versions
<2022.01+dfsg-2ubuntu2.7=2021.07+dfsg-0ubuntu8=2021.07+dfsg-0ubuntu9=2021.07+dfsg-0ubuntu10=2022.01+dfsg-2ubuntu1=2022.01+dfsg-2ubuntu2=2022.01+dfsg-2ubuntu2.1=2022.01+dfsg-2ubuntu2.3=2022.01+dfsg-2ubuntu2.4=2022.01+dfsg-2ubuntu2.5=2022.01+dfsg-2ubuntu2.6
Ubuntu:22.04:LTSmore threats →ghsa
u-boot-nezha
pkg:deb/ubuntu/u-boot-nezha?arch=source&distro=jammy
Affected versions
=2021.09+git20211008.62392d3-0ubuntu1=2022.04+git20220405.7446a472-0ubuntu0.1=2022.04+git20220405.7446a472-0ubuntu0.2=2022.04+git20220405.7446a472-0ubuntu0.3=2022.04+git20220405.7446a472-0ubuntu0.4
Ubuntu:24.04:LTSmore threats →ghsa
u-boot
pkg:deb/ubuntu/u-boot?arch=source&distro=noble
Affected versions
<2025.10-0ubuntu0.24.04.2=2023.07+dfsg-1ubuntu2=2024.01+dfsg-1ubuntu1=2024.01+dfsg-1ubuntu2=2024.01+dfsg-1ubuntu3=2024.01+dfsg-1ubuntu4=2024.01+dfsg-1ubuntu5=2024.01+dfsg-1ubuntu5.1=2024.01+dfsg-1ubuntu5.2=2025.01-0ubuntu0.24.04.1=2025.01-0ubuntu0.24.04.2=2025.10-0ubuntu0.24.04.1
Ubuntu:24.04:LTSmore threats →ghsa
u-boot-nezha
pkg:deb/ubuntu/u-boot-nezha?arch=source&distro=noble
Affected versions
=2022.10-1089-g528ae9bc6c-0ubuntu2=2024.01~rc1-190-g2e89b706f5-0ubuntu1=2024.01~rc1-190-g2e89b706f5-0ubuntu2=2024.01~rc1-190-g2e89b706f5-0ubuntu2.24.04.2

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: 09/10/2026, 11:09:02 UTC

Technical Analysis

CVE-2024-57255 describes an integer overflow in the sqfs_resolve_symlink function within Das U-Boot versions prior to 2025.01-rc1. The vulnerability arises from improper handling of inode size calculations in squashfs filesystems, specifically when the inode size is set to 0xffffffff. This triggers a zero-byte malloc call, which leads to memory overwrite conditions. Exploitation of this flaw can cause denial of service via crashes or enable arbitrary code execution. The vulnerability has a CVSS 3.1 score of 7.1, indicating a medium severity level, with network attack vector requiring high attack complexity and no privileges or user interaction needed. Multiple Ubuntu U-Boot package versions are affected, and an official patch is available as detailed in the Ubuntu security notice USN-8056-1.

Potential Impact

Successful exploitation of this vulnerability can result in denial of service due to U-Boot crashes or potentially arbitrary code execution. The CVSS score of 7.1 reflects high impact on confidentiality, integrity, and availability. The attack vector is physical or local (per CVSS AV:P), requiring high complexity and no privileges or user interaction. This could allow an attacker with access to a crafted squashfs filesystem to compromise the bootloader environment.

Mitigation Recommendations

An official patch is available and should be applied to affected systems. Ubuntu has released fixed package versions for multiple U-Boot packages across supported LTS releases. Users should update their U-Boot packages to the patched versions listed in Ubuntu Security Notice USN-8056-1. Applying these updates will remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2024-57255
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS"]
Cvss Version
3.1

Threat ID: 6a8effeeacd9273b49087d0b

Added to database: 08/26/2026, 15:02:06 UTC

Last enriched: 09/10/2026, 11:09:02 UTC

Last updated: 10/15/2026, 06:48:10 UTC

Views: 50

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