Buffer overflow in Denx U-Boot
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.
Vulnerability class: Buffer Overflow
EPSS: 0.006 (44.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.
Affected products
- Denx U-boot
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Release Notes)
- cve@mitre.org (Third Party Advisory, Mitigation)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Mitigation, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-42040?
- CVE-2024-42040 is a high-severity vulnerability in Denx U-Boot, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 8.1/10. Published 2024-08-23.
- How severe is CVE-2024-42040?
- High severity. CVSS v3 base score is 8.1 out of 10.