CVE-2024-57258
published 2025-02-18CVE-2024-57258: 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…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.24%
15.4th percentile
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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | u-boot | < u-boot 2023.01+dfsg-2+deb12u2 (bookworm) | u-boot 2023.01+dfsg-2+deb12u2 (bookworm) |
| denx | u-boot | <= 2024.10 | — |
| denx | u-boot | >= 0 < 2021.01+dfsg-5+deb11u1 | 2021.01+dfsg-5+deb11u1 |
| denx | u-boot | >= 0 < 2023.01+dfsg-2+deb12u2 | 2023.01+dfsg-2+deb12u2 |
| denx | u-boot | >= 0 < 2025.01-1 | 2025.01-1 |
| denx | u-boot | >= 0 < 2025.01-1 | 2025.01-1 |
| denx | u-boot | >= 0 < 2022.01+dfsg-2ubuntu2.7 | 2022.01+dfsg-2ubuntu2.7 |
| denx | u-boot | >= 0 < 2025.10-0ubuntu0.24.04.2 | 2025.10-0ubuntu0.24.04.2 |
| msrc | azl3_qemu_8.2.0-16_on_azure_linux_3.0 | — | — |
| msrc | cbl2_qemu_6.2.0-24_on_cbl_mariner_2.0 | — | — |
| pengutronix | barebox | < 2025.01.0 | 2025.01.0 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.1HIGH
vendor_ubuntu8.1HIGH
vendor_debian7.1HIGH
vendor_msrc7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
u-boot vulnerabilities
osv·2026-02-23·CVSS 8.1
CVE-2024-42040 [HIGH] u-boot vulnerabilities
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
GHSA
GHSA-r76w-fc3x-9r5g: In barebox before 2025
ghsa_unreviewed·2025-02-19·CVSS 7.1
CVE-2024-57261 [HIGH] CWE-190 GHSA-r76w-fc3x-9r5g: In barebox before 2025
In barebox before 2025.01.0, request2size in common/dlmalloc.c has an integer overflow, a related issue to CVE-2024-57258.
GHSA
GHSA-grrx-h759-85hh: Integer overflows in memory allocation in Das U-Boot before 2025
ghsa_unreviewed·2025-02-19
CVE-2024-57258 [HIGH] CWE-190 GHSA-grrx-h759-85hh: Integer overflows in memory allocation in Das U-Boot before 2025
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.
OSV
CVE-2024-57258: Integer overflows in memory allocation in Das U-Boot before 2025
osv·2025-02-18·CVSS 7.8
CVE-2024-57258 [HIGH] CVE-2024-57258: Integer overflows in memory allocation in Das U-Boot before 2025
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.
Ubuntu
U-Boot vulnerabilities
vendor_ubuntu·2026-02-23·CVSS 8.1
CVE-2024-57257 [HIGH] U-Boot vulnerabilities
Title: U-Boot vulnerabilities
Summary: Several security issues were fixed in U-Boot.
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
o
Microsoft
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.
vendor_msrc·2025-02-11·CVSS 7.1
CVE-2024-57258 [HIGH] CWE-190 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect
Debian
CVE-2024-57258: u-boot - Integer overflows in memory allocation in Das U-Boot before 2025.01-rc1 occur fo...
vendor_debian·2024·CVSS 7.1
CVE-2024-57258 [HIGH] CVE-2024-57258: u-boot - Integer overflows in memory allocation in Das U-Boot before 2025.01-rc1 occur fo...
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.
Scope: local
bookworm: resolved (fixed in 2023.01+dfsg-2+deb12u2)
bullseye: resolved (fixed in 2021.01+dfsg-5+deb11u1)
forky: resolved (fixed in 2025.01-1)
sid: resolved (fixed in 2025.01-1)
trixie: resolved (fixed in 2025.01-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://source.denx.de/u-boot/u-boot/-/commit/0a10b49206a29b4aa2f80233a3e53ca0466bb0b3https://source.denx.de/u-boot/u-boot/-/commit/8642b2178d2c4002c99a0b69a845a48f2ae2706fhttps://source.denx.de/u-boot/u-boot/-/commit/c17b2a05dd50a3ba437e6373093a0d6a359cdee0https://www.openwall.com/lists/oss-security/2025/02/17/2https://lists.debian.org/debian-lts-announce/2025/05/msg00001.htmlhttps://cert-portal.siemens.com/productcert/html/ssa-577017.html
2025-02-18
Published