Vulnerability in Cmake
CVE-2025-9301
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 5.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Cmake — versions 4.1.20250725-gb5cce23
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-320906 | cmake cmForEachCommand.cxx ReplayItems assertion (technical-description, vdb-entry)
- VDB-320906 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #632369 | cmake 4.1.20250725-gb5cce23 and other recent versions of the 4.x series. assertion failure (third-party-advisory)
- gitlab.kitware.com/cmake/cmake/-/issues/27135 (issue-tracking)
- gitlab.kitware.com/cmake/cmake/-/issues/27135 (issue-tracking)
- drive.google.com/file/d/1TerUqQB8_lzJTwIBCBmE94zn7n-gOz4f/view (exploit)
- gitlab.kitware.com/cmake/cmake/-/commit/37e27f71bc356d880c908040cd0cb68fa2c371b8 (patch)