CVEfocus › CVE database › CVE-2024-42040

CVE-2024-42040

CVSS 8.1 HighEPSS 0.8% (higher than 52% of CVEs)Published 2024-08-23Updated 2024-11-20Assigner: mitre

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.

CWE-120

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
5Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10u-bootFix pendingUBUNTU-CVE-2024-42040
Ubuntu 26.04u-bootUnder investigationUBUNTU-CVE-2024-42040
Ubuntu 25.10u-bootWill not fix
as of 2026-02-11, there doesn't seem to be an upstream fix
UBUNTU-CVE-2024-42040
Ubuntu 24.04u-bootUnder investigationUBUNTU-CVE-2024-42040
Ubuntu 24.04u-boot-nezhaUnder investigationUBUNTU-CVE-2024-42040
Ubuntu 22.04u-bootUnder investigationUBUNTU-CVE-2024-42040
Ubuntu 22.04u-boot-nezhaUnder investigationUBUNTU-CVE-2024-42040
Ubuntu 20.04u-bootFix pendingUBUNTU-CVE-2024-42040
Ubuntu 18.04u-bootFix pendingUBUNTU-CVE-2024-42040
Ubuntu 16.04u-bootFix pendingUBUNTU-CVE-2024-42040
Debian 14u-bootFixed2025.01-3.2DEBIAN-CVE-2024-42040
Debian 13u-bootFixed2025.01-3+deb13u1DEBIAN-CVE-2024-42040
Debian 12u-bootFixed2023.01+dfsg-2+deb12u3DEBIAN-CVE-2024-42040

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.