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… (CVE-2024-42040)
Description
A buffer overflow vulnerability exists in the net/bootp.c component of DENEX U-Boot from its initial 2002 commit through all current versions on any platform. This flaw allows a local network attacker to leak between four and 32 bytes of memory beyond the intended packet boundary via crafted DHCP responses. The vulnerability affects many Ubuntu-packaged versions of U-Boot spanning multiple LTS releases and other versions. The CVSS 3.1 score is 8.1, indicating high confidentiality impact and high availability impact but no integrity impact. No official patch or remediation information is provided in the input data.
CVSS v3.1
Score 8.1high
Affected software
pkg:deb/ubuntu/u-boot?arch=source&distro=xenialpkg:deb/ubuntu/u-boot?arch=source&distro=bionicpkg:deb/ubuntu/u-boot?arch=source&distro=focalpkg:deb/ubuntu/u-boot?arch=source&distro=jammypkg:deb/ubuntu/u-boot-nezha?arch=source&distro=jammypkg:deb/ubuntu/u-boot?arch=source&distro=noblepkg:deb/ubuntu/u-boot-nezha?arch=source&distro=noblepkg:deb/ubuntu/u-boot?arch=source&distro=questingpkg:deb/ubuntu/u-boot?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-42040 is a buffer overflow vulnerability in the net/bootp.c file of DENEX U-Boot present from its initial commit in 2002 through all current versions on any platform. An attacker on the local network can exploit this by sending crafted DHCP responses that cause leakage of 4 to 32 bytes of memory beyond the packet boundary. This memory leak depends on how DHCP parameters are later used. The vulnerability affects numerous Ubuntu versions of U-Boot, including multiple LTS releases from 16.04 through 26.04 and other versions. The CVSS 3.1 vector is AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H, reflecting a high impact on confidentiality and availability without requiring privileges or user interaction.
Potential Impact
An attacker on the local network can exploit this vulnerability to leak sensitive memory contents from the affected device, potentially exposing confidential information. The vulnerability also impacts availability, possibly causing denial of service conditions. There is no reported impact on integrity. The CVSS score of 8.1 reflects a high severity in confidentiality and availability impacts. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the input data. Until a patch is available, network administrators should consider limiting exposure of vulnerable devices to untrusted local networks or DHCP servers. Monitor vendor channels for updates and apply official fixes once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2024-42040
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
Threat ID: 6a8effeeacd9273b49087e46
Added to database: 08/26/2026, 15:02:06 UTC
Last enriched: 09/10/2026, 11:08:16 UTC
Last updated: 10/15/2026, 06:48:09 UTC
Views: 63
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.