{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5244 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2025-5244 is a medium-severity memory corruption vulnerability in Gnu Binutils, published on 27 May 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-2025-5244 and fix it if it is affected.\n\nWhat it is: CVE-2025-5244 is a medium-severity memory corruption vulnerability in Gnu Binutils, published on 27 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5244 exists.\n\nAffected product: Gnu Binutils. 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-2025-5244/ (Markdown: https://insights.sbomify.com/CVE-2025-5244/index.md)","id":"CVE-2025-5244","markdown":"https://insights.sbomify.com/CVE-2025-5244/index.md","name":"CVE-2025-5244","record":{"aliases":["ALPINE-CVE-2025-5244","ALSA-2025:20155","AZL-61982","AZL-61994","AZL-62047","BELL-CVE-2025-5244","DEBIAN-CVE-2025-5244","ECHO-f8c4-e042-8153","GHSA-3c6j-3hg7-vq95","MINI-rwmp-4p84-x5mc","RHSA-2025:20155","RLSA-2025:20155","ROOT-OS-ALPINE-319-CVE-2025-5244","ROOT-OS-ALPINE-321-CVE-2025-5244","ROOT-OS-DEBIAN-12-CVE-2025-5244","UBUNTU-CVE-2025-5244"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU Binutils linker","requires_auth":"low_privilege","summary":"A local attacker can exploit memory corruption in the GNU Binutils linker to potentially execute arbitrary code.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"binutils","vendor":"gnu"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A vulnerability was found in GNU Binutils up to 2.44. It has been rated as critical. Affected by this issue is the function elf_gc_sweep of the file bfd/elflink.c of the component ld. The manipulation leads to memory corruption. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. Upgrading to version 2.45 is able to address this issue. It is recommended to upgrade the affected component.","ecosystems":["AlmaLinux:10","Red Hat:enterprise_linux:10.1","Rocky Linux:10"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"GNU Binutils ld elflink.c elf_gc_sweep memory corruption","id":"CVE-2025-5244","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gnu:binutils","products":["gnu:binutils"],"type":"memory_corruption","year":"2025"},"n_packages":14,"n_references":7,"next":{"headline":"GNU Binutils objdump debug.c debug_type_samep memory corruption","id":"CVE-2025-5245"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["2.41-58.el10.alma.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/almalinux/binutils","source":"ALSA-2025:20155"},{"ecosystem":"AlmaLinux:10","fixed":["2.41-58.el10.alma.1"],"introduced":["0"],"last_affected":[],"package":"binutils-devel","purl":"pkg:rpm/almalinux/binutils-devel","source":"ALSA-2025:20155"},{"ecosystem":"AlmaLinux:10","fixed":["2.41-58.el10.alma.1"],"introduced":["0"],"last_affected":[],"package":"binutils-gold","purl":"pkg:rpm/almalinux/binutils-gold","source":"ALSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/redhat/binutils","source":"RHSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"binutils-debuginfo","purl":"pkg:rpm/redhat/binutils-debuginfo","source":"RHSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"binutils-debugsource","purl":"pkg:rpm/redhat/binutils-debugsource","source":"RHSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"binutils-devel","purl":"pkg:rpm/redhat/binutils-devel","source":"RHSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"binutils-gold","purl":"pkg:rpm/redhat/binutils-gold","source":"RHSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"binutils-gold-debuginfo","purl":"pkg:rpm/redhat/binutils-gold-debuginfo","source":"RHSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"binutils-gprofng-debuginfo","purl":"pkg:rpm/redhat/binutils-gprofng-debuginfo","source":"RHSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"cross-binutils-aarch64-debuginfo","purl":"pkg:rpm/redhat/cross-binutils-aarch64-debuginfo","source":"RHSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"cross-binutils-ppc64le-debuginfo","purl":"pkg:rpm/redhat/cross-binutils-ppc64le-debuginfo","source":"RHSA-2025:20155"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"cross-binutils-s390x-debuginfo","purl":"pkg:rpm/redhat/cross-binutils-s390x-debuginfo","source":"RHSA-2025:20155"},{"ecosystem":"Rocky Linux:10","fixed":["0:2.41-58.el10"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/rocky-linux/binutils?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2025:20155"}],"prev":{"headline":"Arbitrary File Upload in SMG Software's Information Portal","id":"CVE-2025-5243"},"products":["Binutils"],"published":"2025-05-27","related":[{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2017-7614","kev_date_added":null,"published":"2017-04-09"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2014-9939","kev_date_added":null,"published":"2017-03-21"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2017-7226","kev_date_added":null,"published":"2017-03-22"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2017-6969","kev_date_added":null,"published":"2017-03-17"},{"cvss_score":8.8,"headline":"Denial of service in n/a","id":"CVE-2020-19726","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":7.8,"headline":"Binutils: binutils: arbitrary code execution via malformed xcoff object file processing","id":"CVE-2026-6846","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2022-44840","kev_date_added":null,"published":"2023-08-22"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["GNU"]},"summary":"A local attacker can exploit memory corruption in the GNU Binutils linker to potentially execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2025-5244/"}