Home / cmake / cmake / CVE-2025-9301
CVE-2025-9301: is it exploited, and which versions of cmake are affected and fixed?
CVE-2025-9301 is a reachable assertion (crash) vulnerability in cmake. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: cmake 4.1.20250725-gb5cce23 (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.8, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-9301?
cmake cmForEachCommand.cxx ReplayItems assertion
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.
From the CVE record by VulDB, last updated August 21, 2025, 13:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cmake | 4.1.20250725-gb5cce23 |
As the CVE record by VulDB states it, last updated August 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-9301?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.8 | CVSS 4.0 | 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 | VulDB |
| Low 3.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| Low 3.3 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| Low 1.7 | CVSS 2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-9301 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 21, 2025)
- EPSS
- 0.18% probability of exploitation activity in the next 30 days, percentile 7.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-617 Reachable Assertion
Where are the vendor advisories and references?
- VDB-320906 | cmake cmForEachCommand.cxx ReplayItems assertion vdb-entry, technical-description
- 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
- https://gitlab.kitware.com/cmake/cmake/-/issues/27135 issue-tracking
- https://gitlab.kitware.com/cmake/cmake/-/issues/27135#note_1691629 issue-tracking
- https://drive.google.com/file/d/1TerUqQB8_lzJTwIBCBmE94zn7n-gOz4f/view?usp=sharing exploit
- https://gitlab.kitware.com/cmake/cmake/-/commit/37e27f71bc356d880c908040cd0cb68fa2c371b8 patch
Who found and reported it?
- xdcao (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 21, 2025
- Published
- August 21, 2025, 13:32 UTC
- CVE record updated
- August 21, 2025, 13:49 UTC by VulDB
- NVD
- Deferred, last modified June 17, 2026, 10:08 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-9301
Is CVE-2025-9301 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.18% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of cmake are affected by CVE-2025-9301?
cmake 4.1.20250725-gb5cce23, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2025-9301?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-9301?
Medium (4.8, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2025-9301?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.