cmake 4.1.20250725-gb5cce23 cmForEachCommand.cxx ReplayItems assertion
Summary
A vulnerability described as problematic has been identified in cmake 4.1.20250725-gb5cce23. This vulnerability affects the function cmForEachFunctionBlocker::ReplayItems of the file cmForEachCommand.cxx. Such manipulation leads to assertion.
This vulnerability is documented as CVE-2025-9301. The attack needs to be performed locally. Additionally, an exploit exists.
A patch should be applied to remediate this issue.
Details
A vulnerability, which was classified as problematic, has been found in cmake 4.1.20250725-gb5cce23. Affected by this issue is the function cmForEachFunctionBlocker::ReplayItems of the file cmForEachCommand.cxx. The manipulation with an unknown input leads to a assertion vulnerability. Using CWE to declare the problem leads to CWE-617. The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary. Impacted is availability.
The advisory is available at gitlab.kitware.com. This vulnerability is handled as CVE-2025-9301. The exploitation is known to be easy. Local access is required to approach this attack. Technical details as well as a public exploit are known.
The exploit is available at drive.google.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 255213 (openSUSE 15 Security Update : cmake3 (SUSE-SU-2025:02975-1)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 37e27f71bc356d880c908040cd0cb68fa2c371b8 is able to eliminate this problem. The bugfix is ready for download at gitlab.kitware.com.
The vulnerability is also documented in the vulnerability database at Tenable (255213). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.3VulDB Meta Temp Score: 3.0
VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: AssertionCWE: CWE-617
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 255213
Nessus Name: openSUSE 15 Security Update : cmake3 (SUSE-SU-2025:02975-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 37e27f71bc356d880c908040cd0cb68fa2c371b8
Timeline
08/21/2025 Advisory disclosed08/21/2025 VulDB entry created
08/26/2025 VulDB entry last update
Sources
Advisory: 27135Status: Confirmed
Confirmation: 🔒
CVE: CVE-2025-9301 (🔒)
GCVE (CVE): GCVE-0-2025-9301
GCVE (VulDB): GCVE-100-320906
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/21/2025 07:33Updated: 08/26/2025 22:05
Changes: 08/21/2025 07:33 (59), 08/26/2025 22:05 (2)
Complete: 🔍
Submitter: xdcao
Cache ID: 216::103
Submit
Accepted
- Submit #632369: cmake 4.1.20250725-gb5cce23 and other recent versions of the 4.x series. assertion failure (by xdcao)
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.