CVE-2024-42040

HIGH
Published Aug 23, 2024 Modified Apr 3, 2026 CWE-120

Description

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.

Is your site exposed to CVE-2024-42040?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

8.1
HIGH
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Weakness Type (CWE)

CWE-120 CWE-120

Affected Products

Vendor Product
denx u-boot

References

Frequently Asked Questions

What is 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. It has a CVSS v3.1 base score of 8.1 (HIGH).
How severe is CVE-2024-42040? +
CVE-2024-42040 has a CVSS v3.1 score of 8.1 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-42040? +
CVE-2024-42040 affects products from denx, specifically: u-boot. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-42040? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-42040 — free, no signup required.