CVE-2025-9301: cmake · Reachable Assertion
Affects cmakeSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 09:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 21 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cmake | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2025-9301, European organizations should: 1) Immediately update cmake to the patched version containing commit 37e27f71bc356d880c908040cd0cb68fa2c371b8 or later releases that include this fix. 2) Restrict local access to build servers and developer workstations running vulnerable cmake versions to trusted personnel only, minimizing the risk of local exploitation. 3) Implement monitoring and alerting for abnormal termination or crashes of cmake processes to detect potential exploitation attempts. 4) Enforce strict user privilege management to prevent unauthorized local users from executing build tools. 5) Integrate vulnerability scanning into software supply chain management to identify and remediate vulnerable cmake versions proactively. 6) Educate development teams about the importance of applying patches promptly and maintaining secure build environments.
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.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- gitlab.kitware.com/cmake/cmake/-/issues/27135 (opens in a new tab)
- gitlab.kitware.com/cmake/cmake/-/issues/27135 (opens in a new tab)
- drive.google.com/file/d/1TerUqQB8_lzJTwIBCBmE94zn7n-gOz4f/view?usp=sharing (opens in a new tab)
- gitlab.kitware.com/cmake/cmake/-/commit/37e27f71bc356d880c908040cd0cb68fa2c371b8 (opens in a new tab)