Vulnerability · Published Feb 18, 2025 · Assigned by mitre
CVE-2024-57256
High 7.1
In plain English
A high-severity integer overflow in U-Boot from denx. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.4%top 68.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | u-boot | 2023.01+dfsg-2+deb12u2 | DEBIAN-CVE-2024-57256 |
| Debian:13 | u-boot | 2025.01-1 | DEBIAN-CVE-2024-57256 |
| Debian:14 | u-boot | 2025.01-1 | DEBIAN-CVE-2024-57256 |
| Ubuntu:22.04:LTS | u-boot | 2022.01+dfsg-2ubuntu2.7 | USN-8056-1 |
| Ubuntu:22.04:LTS | u-boot | 2022.01+dfsg-2ubuntu2.7 | UBUNTU-CVE-2024-57256 |
| Ubuntu:24.04:LTS | u-boot | 2025.10-0ubuntu0.24.04.2 | UBUNTU-CVE-2024-57256 |
| Ubuntu:24.04:LTS | u-boot | 2025.10-0ubuntu0.24.04.2 | USN-8056-1 |
| Ubuntu:22.04:LTS | u-boot-nezha | no fix listed | UBUNTU-CVE-2024-57256 |
| Ubuntu:24.04:LTS | u-boot-nezha | no fix listed | UBUNTU-CVE-2024-57256 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H