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)
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
Affected software
pkg:deb/ubuntu/u-boot?arch=source&distro=xenialpkg:deb/ubuntu/u-boot?arch=source&distro=bionicpkg:deb/ubuntu/u-boot?arch=source&distro=focalpkg:deb/ubuntu/u-boot?arch=source&distro=jammypkg:deb/ubuntu/u-boot-nezha?arch=source&distro=jammypkg:deb/ubuntu/u-boot?arch=source&distro=noblepkg:deb/ubuntu/u-boot-nezha?arch=source&distro=nobleRun 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
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.
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
Patch Information
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 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.