CVEfocus › CVE database › CVE-2025-9301

CVE-2025-9301cmake cmForEachCommand.cxx ReplayItems assertion

CVSS 3.3 LowEPSS 0.3% (higher than 11% of CVEs)Published 2025-08-21Updated 2025-08-21Assigner: VulDB

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.

CWE-617

What to do

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fix pending
3Under investigation
8Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10cmakeFix pendingUBUNTU-CVE-2025-9301
Ubuntu 26.04cmakeUnder investigationUBUNTU-CVE-2025-9301
Ubuntu 25.10cmakeWill not fix
This just causes cmake to reach an assertion, it has very little security impact.
UBUNTU-CVE-2025-9301
Ubuntu 24.04cmakeUnder investigationUBUNTU-CVE-2025-9301
Ubuntu 22.04cmakeUnder investigationUBUNTU-CVE-2025-9301
Ubuntu 20.04cmakeFix pendingUBUNTU-CVE-2025-9301
Ubuntu 18.04cmakeFix pendingUBUNTU-CVE-2025-9301
Ubuntu 16.04cmakeFix pendingUBUNTU-CVE-2025-9301
Debian 14cmakeWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-9301
Debian 13cmakeWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-9301
Debian 12cmakeWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-9301
Red Hat Enterprise Linux 10cmakeFix pending
Fix deferred
Red Hat Enterprise Linux 10cmake-dataFix pending
Fix deferred
Red Hat Enterprise Linux 10cmake-docFix pending
Fix deferred
Red Hat Enterprise Linux 10cmake-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 10cmake-guiFix pending
Fix deferred
Red Hat Enterprise Linux 10cmake-rpm-macrosFix pending
Fix deferred
Red Hat Enterprise Linux 9cmakeFix pending
Fix deferred
Red Hat Enterprise Linux 9cmake-dataFix pending
Fix deferred
Red Hat Enterprise Linux 9cmake-docFix pending
Fix deferred
Red Hat Enterprise Linux 9cmake-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 9cmake-guiFix pending
Fix deferred
Red Hat Enterprise Linux 9cmake-rpm-macrosFix pending
Fix deferred
Red Hat Enterprise Linux 8cmakeFix pending
Fix deferred
Red Hat Enterprise Linux 8cmake-dataFix pending
Fix deferred
Red Hat Enterprise Linux 8cmake-docFix pending
Fix deferred
Red Hat Enterprise Linux 8cmake-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 8cmake-guiFix pending
Fix deferred
Red Hat Enterprise Linux 8cmake-rpm-macrosFix pending
Fix deferred
Red Hat Enterprise Linux 7cmakeWill not fix
Out of support scope
Red Hat Enterprise Linux 7cmake-guiWill not fix
Out of support scope
Red Hat Enterprise Linux 6cmakeWill not fix
Out of support scope
Red Hat Enterprise Linux 6cmake-guiWill not fix
Out of support scope

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.