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.

Published: 2024-08-23 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-42040 is rated Moderate Risk (48.3/100): CVSS High severity, with low exploitation likelihood (EPSS 0.60%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-42040

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.06% 0.60% +0.54%
2 2025-10-03 0.05% 0.06% +0.01%
3 2025-10-02 0.05%

Full EPSS history (7 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-42040

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.1 3.1 HIGH
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Click to expand
Attack vector (AV:A)
Attacker has to be nearby on the network—same office, same link, that vibe—not the whole wide internet.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.2 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-42040

OS Trackers for CVE-2024-42040

vendor priority summary link
alpine CVE-2024-42040: 1 source package rows (u-boot); 57 state rows across 6 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, 3.23-main, edge-main); fixed 0, open 57. https://security.alpinelinux.org/vuln/CVE-2024-42040
debian not yet assigned CVE-2024-42040 not yet assigned priority: Debian including 1 source packages (u-boot), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2024-42040
suse medium https://www.suse.com/security/cve/CVE-2024-42040/
ubuntu medium CVE-2024-42040 medium priority: Ubuntu including 2 source packages (u-boot, u-boot-nezha), 16 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): deferred 8, ignored 4, DNE 2, needs-triage 2. https://ubuntu.com/security/CVE-2024-42040

Affected software / configurations for CVE-2024-42040

Vendor Product Version Raw CPE
denx u-boot <= 2025.10 cpe:2.3:a:denx:u-boot:*:*:*:*:*:*:*:*

References for CVE-2024-42040

URL Tags
https://github.com/u-boot/u-boot/tags Release Notes
https://www.schutzwerk.com/advisories/SCHUTZWERK-SA-2024-004.txt Mitigation Third Party Advisory
http://seclists.org/fulldisclosure/2024/Aug/38 Mailing List Mitigation Third Party Advisory
cvelogic Threat Intelligence