
CVE catalog
CVE-2024-42040
u-boot: CVE-2024-42040
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.60% · Oct 25, 2026
Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | u-boot | sid | 2025.01-3.2 | fixed |
| Debian | u-boot | forky | 2025.01-3.2 | fixed |
| Debian | u-boot | trixie | 2025.01-3+deb13u1 | fixed |
| Debian | u-boot | bookworm | 2023.01+dfsg-2+deb12u3 | fixed |
| Debian | u-boot | bookworm-security | 2023.01+dfsg-2+deb12u3 | fixed |
| Ubuntu | u-boot | pro | 2019.07+dfsg-1ubuntu3 | vulnerable |
| Ubuntu | u-boot | pro | 2019.07+dfsg-1ubuntu5 | vulnerable |
| Ubuntu | u-boot | pro | 2019.07+dfsg-1ubuntu6 | vulnerable |
| Ubuntu | u-boot | pro | 2020.10+dfsg-1ubuntu0~20.04.2 | vulnerable |
| Ubuntu | u-boot | pro | 2021.01+dfsg-3ubuntu0~20.04.1 | vulnerable |
| Ubuntu | u-boot | pro | 2021.01+dfsg-3ubuntu0~20.04.3 | vulnerable |
| Ubuntu | u-boot | pro | 2021.01+dfsg-3ubuntu0~20.04.4 | vulnerable |
| Ubuntu | u-boot | pro | 2021.01+dfsg-3ubuntu0~20.04.5 | vulnerable |
| Ubuntu | u-boot | pro | 2021.01+dfsg-3ubuntu0~20.04.6 | vulnerable |
| Ubuntu | u-boot | pro | 2021.01+dfsg-3ubuntu0~20.04.6+esm1 | vulnerable |
| Ubuntu | u-boot | pro | 2021.01+dfsg-3ubuntu0~20.04.6+esm2 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2021.07+dfsg-0ubuntu8 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2021.07+dfsg-0ubuntu9 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2021.07+dfsg-0ubuntu10 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu1 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu2 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu2.1 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu2.3 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu2.4 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu2.5 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu2.6 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu2.7 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu2.8 | vulnerable |
| Ubuntu | u-boot | 22.04 | 2022.01+dfsg-2ubuntu2.9 | vulnerable |
| Ubuntu | u-boot-nezha | 22.04 | 2021.09+git20211008.62392d3-0ubuntu1 | vulnerable |
| Ubuntu | u-boot-nezha | 22.04 | 2022.04+git20220405.7446a472-0ubuntu0.1 | vulnerable |
| Ubuntu | u-boot-nezha | 22.04 | 2022.04+git20220405.7446a472-0ubuntu0.2 | vulnerable |
| Ubuntu | u-boot-nezha | 22.04 | 2022.04+git20220405.7446a472-0ubuntu0.3 | vulnerable |
| Ubuntu | u-boot-nezha | 22.04 | 2022.04+git20220405.7446a472-0ubuntu0.4 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2023.07+dfsg-1ubuntu2 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2024.01+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2024.01+dfsg-1ubuntu2 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2024.01+dfsg-1ubuntu3 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2024.01+dfsg-1ubuntu4 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2024.01+dfsg-1ubuntu5 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2024.01+dfsg-1ubuntu5.1 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2024.01+dfsg-1ubuntu5.2 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2025.01-0ubuntu0.24.04.1 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2025.01-0ubuntu0.24.04.2 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2025.10-0ubuntu0.24.04.1 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2025.10-0ubuntu0.24.04.2 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2025.10-0ubuntu0.24.04.3 | vulnerable |
| Ubuntu | u-boot | 24.04 | 2025.10-0ubuntu0.24.04.4 | vulnerable |
| Ubuntu | u-boot-nezha | 24.04 | 2022.10-1089-g528ae9bc6c-0ubuntu2 | vulnerable |
| Ubuntu | u-boot-nezha | 24.04 | 2024.01~rc1-190-g2e89b706f5-0ubuntu1 | vulnerable |
| Ubuntu | u-boot-nezha | 24.04 | 2024.01~rc1-190-g2e89b706f5-0ubuntu2 | vulnerable |
| Ubuntu | u-boot-nezha | 24.04 | 2024.01~rc1-190-g2e89b706f5-0ubuntu2.24.04.2 | vulnerable |
| Ubuntu | u-boot | 25.10 | 2025.01-1~0ubuntu2 | vulnerable |
| Ubuntu | u-boot | 25.10 | 2025.01-3ubuntu1 | vulnerable |
| Ubuntu | u-boot | 25.10 | 2025.01-3ubuntu2 | vulnerable |
| Ubuntu | u-boot | 25.10 | 2025.01-3ubuntu4 | vulnerable |
| Ubuntu | u-boot | 25.10 | 2025.10-0ubuntu0.25.10.1 | vulnerable |
| Ubuntu | u-boot | 26.10 | 2025.10-0ubuntu2 | vulnerable |
| Ubuntu | u-boot | 26.10 | 2025.10-0ubuntu3 | vulnerable |
| Ubuntu | u-boot | 26.10 | 2025.10-0ubuntu4 | vulnerable |
| Ubuntu | u-boot | 26.10 | 2025.10-0ubuntu5 | vulnerable |
| Ubuntu | u-boot | 26.10 | 2025.10-0ubuntu6 | vulnerable |
| Ubuntu | u-boot | 26.04 | 2025.01-3ubuntu4 | vulnerable |
| Ubuntu | u-boot | 26.04 | 2025.10-0ubuntu1 | vulnerable |
| Ubuntu | u-boot | 26.04 | 2025.10-0ubuntu2 | vulnerable |
| Ubuntu | u-boot | 26.04 | 2025.10-0ubuntu2.1 | vulnerable |
| Ubuntu | u-boot | 26.04 | 2025.10-0ubuntu2.2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | u-boot | source | sid | 2025.01-3.2 | not yet assigned | Not reported | [1081557] |
| Debian | u-boot | source | forky | 2025.01-3.2 | not yet assigned | Not reported | [1081557] |
| Debian | u-boot | source | trixie | 2025.01-3+deb13u1 | not yet assigned | Not reported | [1081557] |
| Debian | u-boot | source | bookworm | 2023.01+dfsg-2+deb12u3 | not yet assigned | Not reported | [1081557] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [u-boot-amlogic]Affected
Source package: [u-boot]
Details (2)
2023.01+dfsg-2+deb12u3· arm64 · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· arm64 · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
- [u-boot-mvebu]Affected
Source package: [u-boot]
Details (2)
2023.01+dfsg-2+deb12u3· arm64 · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· arm64 · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
- [u-boot-qcom]Affected
Source package: [u-boot]
Details (2)
2023.01+dfsg-2+deb12u3· arm64 · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· arm64 · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
- [u-boot-qemu]Affected
Source package: [u-boot]
Details (4)
2023.01+dfsg-2+deb12u3· all · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· all · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· all · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· all · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
- [u-boot-rockchip]Affected
Source package: [u-boot]
Details (2)
2023.01+dfsg-2+deb12u3· arm64 · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· arm64 · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
- [u-boot-rpi]Affected
Source package: [u-boot]
Details (2)
2023.01+dfsg-2+deb12u3· arm64 · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· arm64 · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
- [u-boot-sunxi]Affected
Source package: [u-boot]
Details (2)
2023.01+dfsg-2+deb12u3· arm64 · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· arm64 · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
- [u-boot-tegra]Affected
Source package: [u-boot]
Details (2)
2023.01+dfsg-2+deb12u3· arm64 · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· arm64 · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
- [u-boot-tools]Affected
Source package: [u-boot]
Details (4)
2023.01+dfsg-2+deb12u3· amd64 · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· arm64 · bookwormAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· amd64 · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
2023.01+dfsg-2+deb12u3· arm64 · bookworm-securityAffected · Fixed:
2023.01+dfsg-2+deb12u3dsa · u-boot · debian · bookworm; dsa · u-boot · debian · 12
[Debian 13 (Trixie)]
- [u-boot-amlogic-binaries]Affected
Source package: [u-boot]
Details (1)
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-asahi]Affected
Source package: [u-boot]
Details (1)
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-mvebu]Affected
Source package: [u-boot]
Details (1)
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-qcom]Affected
Source package: [u-boot]
Details (1)
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-qemu]Affected
Source package: [u-boot]
Details (2)
2025.01-3· all · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
2025.01-3· all · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-rockchip]Affected
Source package: [u-boot]
Details (1)
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-rpi]Affected
Source package: [u-boot]
Details (1)
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-sitara-binaries]Affected
Source package: [u-boot]
Details (1)
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-sunxi]Affected
Source package: [u-boot]
Details (1)
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-tegra]Affected
Source package: [u-boot]
Details (1)
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
- [u-boot-tools]Affected
Source package: [u-boot]
Details (2)
2025.01-3· amd64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
2025.01-3· arm64 · trixieAffected · Fixed:
2025.01-3+deb13u1dsa · u-boot · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-42040]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-42040]
- [https://security-tracker.debian.org/tracker/CVE-2024-42040]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]