cve.bz

CVE-2024-42040 denx u-boot: Classic Buffer Overflow

8.1 highEPSS 0.6%

High (8.1) in denx u-boot. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-42040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-42040?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-42040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-42040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
denx:u-bootthrough 2025.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11u-boot2021.01+dfsg-5+deb11u3DLA-4642-1
Debian12u-boot2023.01+dfsg-2+deb12u3DEBIAN-CVE-2024-42040 DLA-4642-1
Debian13u-boot2025.01-3+deb13u1DEBIAN-CVE-2024-42040
Debian14u-boot2025.01-3.2DEBIAN-CVE-2024-42040
Ubuntu22.04:LTS, 24.04:LTSu-boot, u-boot-nezhano fix listedUBUNTU-CVE-2024-42040
Ubuntu25.10, 26.04:LTS, 26.10 and 3 moreu-bootno fix listedUBUNTU-CVE-2024-42040

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON