{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-57256 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-57256 is a high-severity vulnerability in denx U-Boot, published on 18 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-57256 and fix it if it is affected.\n\nWhat it is: CVE-2024-57256 is a high-severity vulnerability in denx U-Boot, published on 18 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-57256 in the wild and no public exploit code.\n\nAffected product: denx U-Boot. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-57256/ (Markdown: https://insights.sbomify.com/CVE-2024-57256/index.md)","id":"CVE-2024-57256","markdown":"https://insights.sbomify.com/CVE-2024-57256/index.md","name":"CVE-2024-57256","record":{"aliases":["DEBIAN-CVE-2024-57256","GHSA-vmjq-93g5-fvqc","UBUNTU-CVE-2024-57256"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"U-Boot bootloader","requires_auth":"none","summary":"An integer overflow in U-Boot's ext4 symlink handling allows attackers to trigger memory overwrites via crafted filesystems, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"u-boot","vendor":"denx"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Integer overflow in U-Boot","id":"CVE-2024-57256","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Denial of service in U-Boot","id":"CVE-2024-57257"},"packages":[],"prev":{"headline":"Integer overflow in U-Boot","id":"CVE-2024-57255"},"products":["U-Boot"],"published":"2025-02-18","related":[{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2022-34835","kev_date_added":null,"published":"2022-06-29"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2022-30767","kev_date_added":null,"published":"2022-05-16"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-8432","kev_date_added":null,"published":"2020-01-29"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2019-14192","kev_date_added":null,"published":"2019-07-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-14193","kev_date_added":null,"published":"2019-07-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-14194","kev_date_added":null,"published":"2019-07-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-14195","kev_date_added":null,"published":"2019-07-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-12","vendors":["denx"]},"summary":"An integer overflow in U-Boot's ext4 symlink handling allows attackers to trigger memory overwrites via crafted filesystems, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2024-57256/"}