{"id":"UBUNTU-CVE-2025-9301","details":"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.","modified":"2026-05-20T16:24:04.500821038Z","published":"2025-08-21T14:15:00Z","upstream":["CVE-2025-9301"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-9301"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-9301"},{"type":"REPORT","url":"https://drive.google.com/file/d/1TerUqQB8_lzJTwIBCBmE94zn7n-gOz4f/view?usp=sharing"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.320906"},{"type":"REPORT","url":"https://vuldb.com/?id.320906"},{"type":"REPORT","url":"https://vuldb.com/?submit.632369"}],"affected":[{"package":{"name":"cmake","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/cmake?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.2-2ubuntu3","3.2.2-2ubuntu4","3.3.2-1ubuntu1","3.3.2is3.2.2-0ubuntu1","3.3.2is3.2.2-0ubuntu2","3.3.2is3.2.2-0ubuntu4","3.3.2is3.2.2-0ubuntu5","3.5.0-1ubuntu1","3.5.0-1ubuntu2","3.5.0-1ubuntu3","3.5.1-1ubuntu1","3.5.1-1ubuntu2","3.5.1-1ubuntu3"],"ecosystem_specific":{"priority_reason":"This is just a DoS in cmake via an assert","binaries":[{"binary_name":"cmake","binary_version":"3.5.1-1ubuntu3"},{"binary_name":"cmake-curses-gui","binary_version":"3.5.1-1ubuntu3"},{"binary_name":"cmake-data","binary_version":"3.5.1-1ubuntu3"},{"binary_name":"cmake-qt-gui","binary_version":"3.5.1-1ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9301.json"}},{"package":{"name":"cmake","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/cmake?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.1-1","3.9.3-1","3.9.5-1","3.10.2-1","3.10.2-1build1","3.10.2-1ubuntu1","3.10.2-1ubuntu2","3.10.2-1ubuntu2.18.04.1","3.10.2-1ubuntu2.18.04.2"],"ecosystem_specific":{"priority_reason":"This is just a DoS in cmake via an assert","binaries":[{"binary_name":"cmake","binary_version":"3.10.2-1ubuntu2.18.04.2"},{"binary_name":"cmake-curses-gui","binary_version":"3.10.2-1ubuntu2.18.04.2"},{"binary_name":"cmake-data","binary_version":"3.10.2-1ubuntu2.18.04.2"},{"binary_name":"cmake-qt-gui","binary_version":"3.10.2-1ubuntu2.18.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9301.json"}},{"package":{"name":"cmake","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cmake?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.13.4-1build1","3.15.4-1","3.15.4-1ubuntu2","3.15.4-1ubuntu3","3.16.3-1ubuntu1","3.16.3-1ubuntu1.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"cmake","binary_version":"3.16.3-1ubuntu1.20.04.1"},{"binary_name":"cmake-curses-gui","binary_version":"3.16.3-1ubuntu1.20.04.1"},{"binary_name":"cmake-data","binary_version":"3.16.3-1ubuntu1.20.04.1"},{"binary_name":"cmake-qt-gui","binary_version":"3.16.3-1ubuntu1.20.04.1"}],"priority_reason":"This is just a DoS in cmake via an assert"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9301.json"}},{"package":{"name":"cmake","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cmake?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.4-2ubuntu2","3.21.4-1ubuntu2","3.22.1-1ubuntu1","3.22.1-1ubuntu1.22.04.1","3.22.1-1ubuntu1.22.04.2"],"ecosystem_specific":{"priority_reason":"This is just a DoS in cmake via an assert","binaries":[{"binary_name":"cmake","binary_version":"3.22.1-1ubuntu1.22.04.2"},{"binary_name":"cmake-curses-gui","binary_version":"3.22.1-1ubuntu1.22.04.2"},{"binary_version":"3.22.1-1ubuntu1.22.04.2","binary_name":"cmake-data"},{"binary_name":"cmake-qt-gui","binary_version":"3.22.1-1ubuntu1.22.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9301.json"}},{"package":{"name":"cmake","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/cmake?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.27.4-1","3.27.7-1","3.27.8-1","3.27.8-1build1","3.28.1-1","3.28.3-1","3.28.3-1build5","3.28.3-1build6","3.28.3-1build7"],"ecosystem_specific":{"binaries":[{"binary_version":"3.28.3-1build7","binary_name":"cmake"},{"binary_name":"cmake-curses-gui","binary_version":"3.28.3-1build7"},{"binary_name":"cmake-data","binary_version":"3.28.3-1build7"},{"binary_name":"cmake-qt-gui","binary_version":"3.28.3-1build7"}],"priority_reason":"This is just a DoS in cmake via an assert"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9301.json"}},{"package":{"name":"cmake","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/cmake?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.31.6-1ubuntu1","3.31.6-2ubuntu1","3.31.6-2ubuntu3","3.31.6-2ubuntu4","3.31.6-2ubuntu5","3.31.6-2ubuntu6"],"ecosystem_specific":{"binaries":[{"binary_name":"cmake","binary_version":"3.31.6-2ubuntu6"},{"binary_name":"cmake-curses-gui","binary_version":"3.31.6-2ubuntu6"},{"binary_version":"3.31.6-2ubuntu6","binary_name":"cmake-data"},{"binary_version":"3.31.6-2ubuntu6","binary_name":"cmake-qt-gui"}],"priority_reason":"This is just a DoS in cmake via an assert"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9301.json"}},{"package":{"name":"cmake","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/cmake?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.31.6-2ubuntu6","4.1.1+really3.31.6-2ubuntu1","4.2.3-2ubuntu1","4.2.3-2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"cmake","binary_version":"4.2.3-2ubuntu2"},{"binary_name":"cmake-curses-gui","binary_version":"4.2.3-2ubuntu2"},{"binary_name":"cmake-data","binary_version":"4.2.3-2ubuntu2"},{"binary_name":"cmake-qt-gui","binary_version":"4.2.3-2ubuntu2"}],"priority_reason":"This is just a DoS in cmake via an assert"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9301.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"negligible"}]}