Integer overflow in Denx U-Boot

CVE-2024-57256

An integer overflow in ext4fs_read_symlink in Das U-Boot before 2025.01-rc1 occurs for zalloc (adding one to an le32 variable) via a crafted ext4 filesystem with an inode size of 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.

Vulnerability class: Integer Overflow

EPSS: 0.004 (29.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-57256?
CVE-2024-57256 is a high-severity vulnerability in Denx U-Boot, classified under Integer Overflow or Wraparound. CVSS score: 7.1/10. Published 2025-02-18.
How severe is CVE-2024-57256?
High severity. CVSS v3 base score is 7.1 out of 10.
Is CVE-2024-57256 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.