CVE-2024-57261 Details
Description
In barebox before 2025.01.0, request2size in common/dlmalloc.c has an integer overflow, a related issue to CVE-2024-57258.
An integer overflow vulnerability has been identified in the Barebox bootloader, specifically in versions prior to 2025.01.0. The issue arises in the 'request2size' function within 'common/dlmalloc.c', where a size_t variable is improperly cast to a long. This casting can lead to an overflow, allowing values close to LONG_MAX to be misinterpreted, causing the function to return an incorrect minimum size. This vulnerability is related to another identified issue, CVE-2024-57258.
Users can upgrade to Barebox version 2025.01.0 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 19, 2025CISA-ADP
Assessed Feb 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.pengutronix.de/cgit/barebox/commit/?id=7cf25e0733f08f68d1bf0ca0c3cf6e2dfe51bd3c | [email protected] | Source CodeVendor |
| https://lists.infradead.org/pipermail/barebox/2024-November/048631.html | [email protected] | Issue TrackingMailing ListVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| barebox | < 2025.01.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 19, 2025 | New CVE Received | [email protected] |
Volerion