CVE-2024-42040
Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 ...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
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.
- Record
CVE-2024-42040- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
EUVDEUVD-2024-39870
8.1
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.
- Record
EUVD-2024-39870- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xh96-vq46-m9ww
8.1
Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 ...
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.
- Record
GHSA-xh96-vq46-m9ww- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
NVD
8.1
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.
- Record
CVE-2024-42040- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
OSV
8.1
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.
- Record
CVE-2024-42040- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-42040
8.1
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.
- Record
DEBIAN-CVE-2024-42040- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2026-1971
8.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):
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.(CVE-2024-42040)
- Record
OESA-2026-1971- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-42040
8.1
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.
- Record
UBUNTU-CVE-2024-42040- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
u-bootDebian:12 |
before 2023.01+dfsg-2+deb12u3, plus listed versions 2023.01+dfsg-22023.01+dfsg-2+deb12u12023.01+dfsg-2+deb12u2 |
2023.01+dfsg-2+deb12u3 |
u-bootDebian:13 |
before 2025.01-3+deb13u1, plus listed versions 2025.01-3 |
2025.01-3+deb13u1 |
u-bootDebian:14 |
before 2025.01-3.2, plus listed versions 2025.01-32025.01-3.1 |
2025.01-3.2 |
uboot-toolsopenEuler:22.03-LTS-SP4 |
before 2021.10-12.oe2203sp4 | 2021.10-12.oe2203sp4 |
uboot-toolsopenEuler:24.03-LTS |
before 2024.01-4.oe2403sp3 | 2024.01-4.oe2403sp3 |
uboot-toolsopenEuler:24.03-LTS-SP1 |
before 2024.01-4.oe2403sp1 | 2024.01-4.oe2403sp1 |
uboot-toolsopenEuler:24.03-LTS-SP2 |
before 2024.01-4.oe2403sp2 | 2024.01-4.oe2403sp2 |
uboot-toolsopenEuler:24.03-LTS-SP3 |
before 2024.01-4.oe2403sp3 | 2024.01-4.oe2403sp3 |
uboot-toolsopenEuler:20.03-LTS-SP4 |
before 2020.07-11.oe2003sp4 | 2020.07-11.oe2003sp4 |
u-bootUbuntu: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 less2016.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 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
u-bootUbuntu: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 less2020.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 |
u-bootUbuntu: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 less2021.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-bootUbuntu:22.04:LTS |
All versions, plus listed versions 2021.07+dfsg-0ubuntu82021.07+dfsg-0ubuntu92021.07+dfsg-0ubuntu102022.01+dfsg-2ubuntu12022.01+dfsg-2ubuntu2 Show 8 moreShow less2022.01+dfsg-2ubuntu2.12022.01+dfsg-2ubuntu2.32022.01+dfsg-2ubuntu2.42022.01+dfsg-2ubuntu2.52022.01+dfsg-2ubuntu2.62022.01+dfsg-2ubuntu2.72022.01+dfsg-2ubuntu2.82022.01+dfsg-2ubuntu2.9 |
None known |
u-boot-nezhaUbuntu: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-bootUbuntu:24.04:LTS |
All versions, plus listed versions 2023.07+dfsg-1ubuntu22024.01+dfsg-1ubuntu12024.01+dfsg-1ubuntu22024.01+dfsg-1ubuntu32024.01+dfsg-1ubuntu4 Show 9 moreShow less2024.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.12025.10-0ubuntu0.24.04.22025.10-0ubuntu0.24.04.32025.10-0ubuntu0.24.04.4 |
None known |
u-boot-nezhaUbuntu: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 |
u-bootUbuntu:25.10 |
All versions, plus listed versions 2025.01-1~0ubuntu22025.01-3ubuntu12025.01-3ubuntu22025.01-3ubuntu42025.10-0ubuntu0.25.10.1 |
None known |
u-bootUbuntu:26.10 |
All versions, plus listed versions 2025.10-0ubuntu22025.10-0ubuntu32025.10-0ubuntu42025.10-0ubuntu52025.10-0ubuntu6 |
None known |
u-bootUbuntu:26.04:LTS |
All versions, plus listed versions 2025.01-3ubuntu42025.10-0ubuntu12025.10-0ubuntu22025.10-0ubuntu2.12025.10-0ubuntu2.2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-42040 is a high vulnerability (CVSS 8.1) in Denx U-boot, published August 23, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.60%, the 48th percentile. Fixed in u-boot 2023.01+dfsg-2+deb12u3.