CVE-2025-9301: Reachable Assertion in cmake
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.
AI Analysis
Technical Summary
CVE-2025-9301 is a medium-severity vulnerability identified in the cmake build system, specifically affecting version 4.1.20250725-gb5cce23. The flaw exists in the function cmForEachFunctionBlocker::ReplayItems within the source file cmForEachCommand.cxx. The vulnerability manifests as a reachable assertion failure, which means that under certain conditions, the program encounters an assertion that is triggered during execution, potentially causing the application to terminate unexpectedly or behave unpredictably. This type of vulnerability typically leads to denial of service by crashing the affected process. The attack vector requires local access with low privileges (local attack vector with low complexity), and no user interaction or elevated privileges are necessary to trigger the assertion. The vulnerability does not affect confidentiality, integrity, or availability beyond the scope of the local system where cmake is running. The exploit has been publicly disclosed, increasing the risk of exploitation, although no known exploits are currently observed in the wild. A patch has been released (commit identifier 37e27f71bc356d880c908040cd0cb68fa2c371b8) to address this issue, and it is strongly recommended to apply this update to mitigate the risk. The CVSS v4.0 base score is 4.8, reflecting a medium severity level due to the local attack vector and limited impact scope.
Potential Impact
For European organizations, the impact of CVE-2025-9301 is primarily related to stability and availability of development environments that utilize the affected cmake version. Since cmake is widely used in software development and build automation, a reachable assertion vulnerability could disrupt build processes, causing denial of service conditions on developer machines or build servers. This disruption could delay software development cycles, continuous integration pipelines, and automated testing environments. However, the vulnerability does not allow remote exploitation or privilege escalation, limiting its impact to local users who already have access to the system. Organizations with strict development environment controls and isolated build servers will face minimal risk, but those with shared or less controlled environments might experience interruptions. The vulnerability does not directly threaten sensitive data confidentiality or integrity but could indirectly affect operational efficiency and software delivery timelines.
Mitigation Recommendations
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.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Poland
CVE-2025-9301: Reachable Assertion in cmake
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.
AI-Powered Analysis
Technical Analysis
CVE-2025-9301 is a medium-severity vulnerability identified in the cmake build system, specifically affecting version 4.1.20250725-gb5cce23. The flaw exists in the function cmForEachFunctionBlocker::ReplayItems within the source file cmForEachCommand.cxx. The vulnerability manifests as a reachable assertion failure, which means that under certain conditions, the program encounters an assertion that is triggered during execution, potentially causing the application to terminate unexpectedly or behave unpredictably. This type of vulnerability typically leads to denial of service by crashing the affected process. The attack vector requires local access with low privileges (local attack vector with low complexity), and no user interaction or elevated privileges are necessary to trigger the assertion. The vulnerability does not affect confidentiality, integrity, or availability beyond the scope of the local system where cmake is running. The exploit has been publicly disclosed, increasing the risk of exploitation, although no known exploits are currently observed in the wild. A patch has been released (commit identifier 37e27f71bc356d880c908040cd0cb68fa2c371b8) to address this issue, and it is strongly recommended to apply this update to mitigate the risk. The CVSS v4.0 base score is 4.8, reflecting a medium severity level due to the local attack vector and limited impact scope.
Potential Impact
For European organizations, the impact of CVE-2025-9301 is primarily related to stability and availability of development environments that utilize the affected cmake version. Since cmake is widely used in software development and build automation, a reachable assertion vulnerability could disrupt build processes, causing denial of service conditions on developer machines or build servers. This disruption could delay software development cycles, continuous integration pipelines, and automated testing environments. However, the vulnerability does not allow remote exploitation or privilege escalation, limiting its impact to local users who already have access to the system. Organizations with strict development environment controls and isolated build servers will face minimal risk, but those with shared or less controlled environments might experience interruptions. The vulnerability does not directly threaten sensitive data confidentiality or integrity but could indirectly affect operational efficiency and software delivery timelines.
Mitigation Recommendations
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.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- VulDB
- Date Reserved
- 2025-08-21T05:28:41.708Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68a72384ad5a09ad0011184b
Added to database: 8/21/2025, 1:47:48 PM
Last enriched: 8/21/2025, 2:03:19 PM
Last updated: 8/22/2025, 12:34:56 AM
Views: 4
Related Threats
CVE-2025-55573: n/a
HighCVE-2025-36042: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in IBM QRadar SIEM
MediumCVE-2025-33120: CWE-250 in IBM QRadar SIEM
HighCVE-2025-0754: Improper Output Neutralization for Logs
MediumCVE-2025-0752: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
MediumActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.