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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | u-boot | Fix pending | UBUNTU-CVE-2024-42040 | |
| Ubuntu 26.04 | u-boot | Under investigation | UBUNTU-CVE-2024-42040 | |
| Ubuntu 25.10 | u-boot | Will not fix as of 2026-02-11, there doesn't seem to be an upstream fix | UBUNTU-CVE-2024-42040 | |
| Ubuntu 24.04 | u-boot | Under investigation | UBUNTU-CVE-2024-42040 | |
| Ubuntu 24.04 | u-boot-nezha | Under investigation | UBUNTU-CVE-2024-42040 | |
| Ubuntu 22.04 | u-boot | Under investigation | UBUNTU-CVE-2024-42040 | |
| Ubuntu 22.04 | u-boot-nezha | Under investigation | UBUNTU-CVE-2024-42040 | |
| Ubuntu 20.04 | u-boot | Fix pending | UBUNTU-CVE-2024-42040 | |
| Ubuntu 18.04 | u-boot | Fix pending | UBUNTU-CVE-2024-42040 | |
| Ubuntu 16.04 | u-boot | Fix pending | UBUNTU-CVE-2024-42040 | |
| Debian 14 | u-boot | Fixed | 2025.01-3.2 | DEBIAN-CVE-2024-42040 |
| Debian 13 | u-boot | Fixed | 2025.01-3+deb13u1 | DEBIAN-CVE-2024-42040 |
| Debian 12 | u-boot | Fixed | 2023.01+dfsg-2+deb12u3 | DEBIAN-CVE-2024-42040 |
References
- https://github.com/u-boot/u-boot/tags
- https://www.schutzwerk.com/advisories/SCHUTZWERK-SA-2024-004.txt
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.