{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-9301 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-9301 is a medium-severity denial of service vulnerability in cmake, published on 21 Aug 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-9301 and fix it if it is affected.\n\nWhat it is: CVE-2025-9301 is a medium-severity denial of service vulnerability in cmake, published on 21 Aug 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-9301 exists.\n\nAffected product: cmake. 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-9301/ (Markdown: https://insights.sbomify.com/CVE-2025-9301/index.md)","id":"CVE-2025-9301","markdown":"https://insights.sbomify.com/CVE-2025-9301/index.md","name":"CVE-2025-9301","record":{"aliases":["AZL-66554","AZL-66557","BELL-CVE-2025-9301","DEBIAN-CVE-2025-9301","ECHO-ebd3-697a-ca11","GHSA-mff3-m38v-mgv6","MGASA-2026-0069","OESA-2025-2145","OESA-2025-2146","OESA-2025-2147","OESA-2025-2148","OESA-2025-2254","SUSE-SU-2025:02975-1","SUSE-SU-2025:02976-1","SUSE-SU-2025:03281-1","SUSE-SU-2025:3812-1","UBUNTU-CVE-2025-9301"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CMake build tool","requires_auth":"low_privilege","summary":"A local attacker can trigger a reachable assertion in CMake's foreach command processing, causing a denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-617","name":"Reachable Assertion"}],"description":"A vulnerability was determined in cmake 4.1.20250725-gb5cce23. This affects the function cmForEachFunctionBlocker::ReplayItems of the file cmForEachCommand.cxx. This manipulation causes reachable assertion. The attack needs to be launched locally. The exploit has been publicly disclosed and may be utilized. Patch name: 37e27f71bc356d880c908040cd0cb68fa2c371b8. It is suggested to install a patch to address this issue.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"cmake cmForEachCommand.cxx ReplayItems assertion","id":"CVE-2025-9301","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":10,"n_references":7,"next":{"headline":"PHPGurukul User Management System signup.php sql injection","id":"CVE-2025-9302"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["3.28.3-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cmake","purl":"pkg:rpm/suse/cmake\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:3812-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["3.28.3-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cmake-full","purl":"pkg:rpm/suse/cmake-full\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:3812-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["3.28.3-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cmake","purl":"pkg:rpm/suse/cmake\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:3812-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["3.28.3-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cmake-full","purl":"pkg:rpm/suse/cmake-full\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:3812-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.28.3-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cmake","purl":"pkg:rpm/opensuse/cmake\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:3812-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.28.3-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cmake-full","purl":"pkg:rpm/opensuse/cmake-full\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:3812-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.28.3-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cmake-ui","purl":"pkg:rpm/opensuse/cmake-ui\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:3812-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.20.0-150200.6.6.1"],"introduced":["0"],"last_affected":[],"package":"cmake3","purl":"pkg:rpm/opensuse/cmake3\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02975-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.20.0-150200.6.6.1"],"introduced":["0"],"last_affected":[],"package":"cmake3-full","purl":"pkg:rpm/opensuse/cmake3-full\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02975-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.17.0-150000.1.9.1"],"introduced":["0"],"last_affected":[],"package":"cmake3-ui","purl":"pkg:rpm/opensuse/cmake3-ui\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02976-1"}],"prev":{"headline":"saitoha libsixel img2sixel encoder.c sixel_debug_print_palette stack-based overflow","id":"CVE-2025-9300"},"products":["cmake"],"published":"2025-08-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"2025-08-21","vendors":["n/a"]},"summary":"A local attacker can trigger a reachable assertion in CMake's foreach command processing, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2025-9301/"}