Home / Denx / U-boot / CVE-2024-42040
CVE-2024-42040: is it exploited, and which versions of Denx U-boot are affected and fixed?
CVE-2024-42040 is a buffer overflow vulnerability in Denx U-boot. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: u-boot through 2025.10 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-42040?
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.
From the CVE record by mitre, last updated November 20, 2024, 16:22 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| denx | u-boot | through 2025.10 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:48 UTC.
How severe is CVE-2024-42040?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-42040 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 26, 2024)
- EPSS
- 0.60% probability of exploitation activity in the next 30 days, percentile 50.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-120 Buffer Copy without Checking Size of Input
Where are the vendor advisories and references?
- https://github.com/u-boot/u-boot/tags
- https://www.schutzwerk.com/advisories/SCHUTZWERK-SA-2024-004.txt
- http://seclists.org/fulldisclosure/2024/Aug/38
When was it published, and where is the official record?
- Reserved
- July 27, 2024
- Published
- August 23, 2024, 00:00 UTC
- CVE record updated
- November 20, 2024, 16:22 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 07:48 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect U-boot?
- May 16, 2026CVE-2026-46728 denx U-Boot: origin not validated
- Dec 10, 2025CVE-2025-24857 Denx U-boot: improper access control
- Aug 5, 2025CVE-2025-45512 Denx U-boot: command injection
- Feb 18, 2025CVE-2024-57259 denx U-Boot: off-by-one Error
- Feb 18, 2025CVE-2024-57258 denx U-Boot: integer overflow
- Feb 18, 2025CVE-2024-57257 denx U-Boot: uncontrolled recursion
- Feb 18, 2025CVE-2024-57256 denx U-Boot: integer overflow
- Feb 18, 2025CVE-2024-57255 denx U-Boot: integer overflow
Questions about CVE-2024-42040
Is CVE-2024-42040 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Denx U-boot are affected by CVE-2024-42040?
u-boot through 2025.10, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2024-42040?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-42040?
High (8.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-42040?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.