Every CVE Search/ Get API key

CVE-2024-57257

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted...

2.0 LowFix available

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.

Attack profile

How easy it is to exploit

Attack vector
Physical
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.32%Up 0.3 points since Feb 19, 2025
90%50%10%1%

What each source reports

CVE List Score used 2.0

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.

Record
CVE-2024-57257
CVSS 3.1
2.0 LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-674
Updated
2026-11-02
EUVDEUVD-2025-4761 2.0

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.

Record
EUVD-2025-4761
CVSS 3.1
2.0 LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-8h8c-f86r-pf3c 2.0

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted...

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.

Record
GHSA-8h8c-f86r-pf3c
CVSS 3.1
2.0 LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-674
Updated
2026-11-02
NVD 2.0

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.

Record
CVE-2024-57257
CVSS 3.1
2.0 LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 3.1
2.4 LowCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-674
Updated
2026-11-02
OSV 2.0

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.

Record
CVE-2024-57257
CVSS 3.1
2.0 LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-674
Updated
2026-11-02
OSVDEBIAN-CVE-2024-57257 2.4

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.

Record
DEBIAN-CVE-2024-57257
CVSS 3.1
2.4 LowCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
Show 6 moreShow less
OSVOESA-2025-1210 7.1

uboot-tools security update

This package includes the mkimage program, which allows generation of U-Boot images in various formats, and the fw_printenv and fw_setenv programs to read and modify U-Boot's environment.

Security Fix(es):

An integer overflow in sqfs_inode_size in Das U-Boot before 2025.01-rc1 occurs in the symlink size calculation via a crafted squashfs filesystem.(CVE-2024-57254)

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 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.(CVE-2024-57255)

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.(CVE-2024-57256)

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.(CVE-2024-57257)

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.(CVE-2024-57258)

sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation.(CVE-2024-57259)

Record
OESA-2025-1210
CVSS 3.1
7.1 HighCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1211 7.1

uboot-tools security update

This package includes the mkimage program, which allows generation of U-Boot images in various formats, and the fw_printenv and fw_setenv programs to read and modify U-Boot's environment.

Security Fix(es):

An integer overflow in sqfs_inode_size in Das U-Boot before 2025.01-rc1 occurs in the symlink size calculation via a crafted squashfs filesystem.(CVE-2024-57254)

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 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.(CVE-2024-57255)

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.(CVE-2024-57256)

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.(CVE-2024-57257)

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.(CVE-2024-57258)

sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation.(CVE-2024-57259)

Record
OESA-2025-1211
CVSS 3.1
7.1 HighCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1212 7.1

uboot-tools security update

This package includes the mkimage program, which allows generation of U-Boot images in various formats, and the fw_printenv and fw_setenv programs to read and modify U-Boot's environment.

Security Fix(es):

An integer overflow in sqfs_inode_size in Das U-Boot before 2025.01-rc1 occurs in the symlink size calculation via a crafted squashfs filesystem.(CVE-2024-57254)

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 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.(CVE-2024-57255)

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.(CVE-2024-57256)

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.(CVE-2024-57257)

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.(CVE-2024-57258)

sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation.(CVE-2024-57259)

Record
OESA-2025-1212
CVSS 3.1
7.1 HighCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1213 7.1

uboot-tools security update

This package includes the mkimage program, which allows generation of U-Boot images in various formats, and the fw_printenv and fw_setenv programs to read and modify U-Boot's environment.

Security Fix(es):

An integer overflow in sqfs_inode_size in Das U-Boot before 2025.01-rc1 occurs in the symlink size calculation via a crafted squashfs filesystem.(CVE-2024-57254)

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 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.(CVE-2024-57255)

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.(CVE-2024-57256)

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.(CVE-2024-57257)

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.(CVE-2024-57258)

sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation.(CVE-2024-57259)

Record
OESA-2025-1213
CVSS 3.1
7.1 HighCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-57257 2.0

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting.

Record
UBUNTU-CVE-2024-57257
CVSS 3.1
2.0 LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 3.1
2.4 LowCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVUSN-8056-1 No score

u-boot vulnerabilities

Simon Diepold discovered that U-Boot incorrectly handled certain DHCP responses. An attacker on the local network could possibly use this issue to obtain sensitive memory contents. (CVE-2024-42040)

It was discovered that U-Boot incorrectly handled symlink size calculations in squashfs file systems. An attacker could use this issue with a specially crafted squashfs file system to cause U-Boot to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2024-57254)

It was discovered that U-Boot incorrectly handled inode size calculations in squashfs file systems. An attacker could use this issue with a specially crafted squashfs file system to cause U-Boot to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2024-57255)

It was discovered that U-Boot incorrectly handled inode size calculations in EXT4 file systems. An attacker could use this issue with a specially crafted EXT4 file system to cause U-Boot to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2024-57256)

It was discovered that U-Boot incorrectly handled deep symlink nesting in squashfs file systems. An attacker could possibly use this issue with a specially crafted squashfs file system to cause U-Boot to crash, resulting in a denial of service. (CVE-2024-57257)

It was discovered that U-Boot incorrectly handled memory allocation in squashfs file systems. An attacker could use this issue with a specially crafted squashfs file system to cause U-Boot to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2024-57258)

Record
USN-8056-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
u-boot
Debian:12
before 2023.01+dfsg-2+deb12u2, plus listed versions
2023.01+dfsg-22023.01+dfsg-2+deb12u1
2023.01+dfsg-2+deb12u2
u-boot
Debian:13
before 2025.01-1
2025.01-1
u-boot
Debian:14
before 2025.01-1
2025.01-1
u-boot
Debian:11
before 2021.01+dfsg-5+deb11u1, plus listed versions
2021.01+dfsg-5
2021.01+dfsg-5+deb11u1
uboot-tools
openEuler:22.03-LTS-SP3
before 2021.10-9.oe2203sp3
2021.10-9.oe2203sp3
uboot-tools
openEuler:22.03-LTS-SP4
before 2021.10-9.oe2203sp4
2021.10-9.oe2203sp4
uboot-tools
openEuler:24.03-LTS
before 2024.01-2.oe2403
2024.01-2.oe2403
uboot-tools
openEuler:24.03-LTS-SP1
before 2024.01-2.oe2403sp1
2024.01-2.oe2403sp1
u-boot
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2015.04+dfsg1-2ubuntu12015.10+dfsg1-22015.10+dfsg1-32015.10+dfsg1-42016.01+dfsg1-1
Show 7 moreShow less
2016.01+dfsg1-1ubuntu12016.01+dfsg1-2ubuntu12016.01+dfsg1-2ubuntu22016.01+dfsg1-2ubuntu32016.01+dfsg1-2ubuntu52016.01+dfsg1-2ubuntu5+esm12016.01+dfsg1-2ubuntu5+esm2
None known
u-boot
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
2016.03+dfsg1-6ubuntu22018.07~rc3+dfsg1-0ubuntu1~18.04.12018.07~rc3+dfsg1-0ubuntu2~18.04.12018.07~rc3+dfsg1-0ubuntu3~18.04.12019.07+dfsg-1ubuntu4~18.04.1
Show 4 moreShow less
2020.10+dfsg-1ubuntu0~18.04.22020.10+dfsg-1ubuntu0~18.04.32020.10+dfsg-1ubuntu0~18.04.3+esm12020.10+dfsg-1ubuntu0~18.04.3+esm2
None known
Show 5 moreShow less
Affected packages
PackageAffectedFixed
u-boot
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
2019.07+dfsg-1ubuntu32019.07+dfsg-1ubuntu52019.07+dfsg-1ubuntu62020.10+dfsg-1ubuntu0~20.04.22021.01+dfsg-3ubuntu0~20.04.1
Show 6 moreShow less
2021.01+dfsg-3ubuntu0~20.04.32021.01+dfsg-3ubuntu0~20.04.42021.01+dfsg-3ubuntu0~20.04.52021.01+dfsg-3ubuntu0~20.04.62021.01+dfsg-3ubuntu0~20.04.6+esm12021.01+dfsg-3ubuntu0~20.04.6+esm2
None known
u-boot
Ubuntu:22.04:LTS
before 2022.01+dfsg-2ubuntu2.7, plus listed versions
2021.07+dfsg-0ubuntu82021.07+dfsg-0ubuntu92021.07+dfsg-0ubuntu102022.01+dfsg-2ubuntu12022.01+dfsg-2ubuntu2
Show 5 moreShow less
2022.01+dfsg-2ubuntu2.12022.01+dfsg-2ubuntu2.32022.01+dfsg-2ubuntu2.42022.01+dfsg-2ubuntu2.52022.01+dfsg-2ubuntu2.6
2022.01+dfsg-2ubuntu2.7
u-boot-nezha
Ubuntu:22.04:LTS
All versions, plus listed versions
2021.09+git20211008.62392d3-0ubuntu12022.04+git20220405.7446a472-0ubuntu0.12022.04+git20220405.7446a472-0ubuntu0.22022.04+git20220405.7446a472-0ubuntu0.32022.04+git20220405.7446a472-0ubuntu0.4
None known
u-boot
Ubuntu:24.04:LTS
before 2025.10-0ubuntu0.24.04.2, plus listed versions
2023.07+dfsg-1ubuntu22024.01+dfsg-1ubuntu12024.01+dfsg-1ubuntu22024.01+dfsg-1ubuntu32024.01+dfsg-1ubuntu4
Show 6 moreShow less
2024.01+dfsg-1ubuntu52024.01+dfsg-1ubuntu5.12024.01+dfsg-1ubuntu5.22025.01-0ubuntu0.24.04.12025.01-0ubuntu0.24.04.22025.10-0ubuntu0.24.04.1
2025.10-0ubuntu0.24.04.2
u-boot-nezha
Ubuntu:24.04:LTS
All versions, plus listed versions
2022.10-1089-g528ae9bc6c-0ubuntu22024.01~rc1-190-g2e89b706f5-0ubuntu12024.01~rc1-190-g2e89b706f5-0ubuntu22024.01~rc1-190-g2e89b706f5-0ubuntu2.24.04.2
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-57257 is a low vulnerability (CVSS 2.0) in Denx U-boot, published February 18, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 24th percentile. Fixed in u-boot 2023.01+dfsg-2+deb12u2.

References

Show 18 moreShow less
MoveEnter Open