CVE-2025-9301
CVE-2025-9301 · cmake cmForEachCommand.cxx ReplayItems assertion
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 4.8 · Medium · EPSS 0.2%
- Published
- Updated
Stack: system
Affected products and versions
cmake
- Versions
- 4.1.20250725-gb5cce23: Affected
No fix published
cmake Debian:12
- Versions
- 3.25.1-1
- 3.26.4-1
- 3.26.4-2
- 3.26.4-3
- 3.26.4-4
- 3.26.4-4~bpo12+1
- 3.27.0-1
- 3.27.0-2
- 3.27.0~rc4-1
- 3.27.0~rc4-2
- 3.27.0~rc4-3
- 3.27.0~rc5-1
- 3.27.1-1
- 3.27.1-2
- 3.27.2-1
- 3.27.2-1~bpo12+1
- 3.27.3-1
- 3.27.4-1
- 3.27.4-1~bpo12+1
- 3.27.5-1
- 3.27.5-1~bpo12+1
- 3.27.6-1
- 3.27.6-1~bpo12+1
- 3.27.7-1
- 3.27.7-1~bpo12+1
- 3.27.8-1
- 3.27.8-1~bpo12+1
- 3.27.9-1
- 3.27.9-1~bpo12+1
- 3.28.0-1
- 3.28.1-1
- 3.28.1-1~bpo12+1
- 3.28.2-1
- 3.28.3-1
- 3.28.3-1~bpo12+1
- 3.29.2-1
- 3.29.2-2
- 3.29.2-2~bpo12+1
- 3.29.3-1
- 3.29.3-1~bpo12+1
- 3.29.4-1
- 3.29.4-1~bpo12+1
- 3.29.5-1
- 3.29.5-1~bpo12+1
- 3.29.6-1
- 3.29.6-1~bpo12+1
- 3.30.0-1
- 3.30.1-1
- 3.30.2-1
- 3.30.2-2
- 3.30.2-2~bpo12+1
- 3.30.3-1
- 3.30.3-1~bpo12+1
- 3.30.4-1
- 3.30.4-1~bpo12+1
- 3.30.5-1
- 3.30.5-1.1
- 3.30.5-1~bpo12+1
- 3.31.0-1
- 3.31.0-2
- 3.31.1-1
- 3.31.2-1
- 3.31.3-1
- 3.31.4-2
- 3.31.4-2~bpo12+1
- 3.31.5-1
- 3.31.5-1~bpo12+1
- 3.31.5-2
- 3.31.5-2~bpo12+1
- 3.31.6-1
- 3.31.6-1~bpo12+1
- 3.31.6-2
- 3.31.6-2~bpo12+1
- 4.0.0-1
- 4.0.1-1
- 4.0.2-1
- 4.0.3-1
- 4.1.0-1
- 4.1.1+really3.31.6-1
- 4.1.1+really3.31.6-2
- 4.1.1+really4.1.1-1
- 4.1.1-1
- 4.1.1-2
- 4.1.2-1
- 4.2.0-1
- 4.2.0-2
- 4.2.1-1
- 4.2.1-2
- 4.2.2-1
- 4.2.2-2
- 4.2.3-1
- 4.2.3-1~bpo13+1
- 4.2.3-2
- 4.2.3-2~bpo13+1
- 4.3.0-1
- 4.3.0-2
- 4.3.0-3
- 4.3.0~rc3-1
- 4.3.1-1
- 4.3.1-1~bpo13+1
- 4.3.2-1
- 4.3.2-1~bpo13+1
- 4.3.3-1
- 4.3.3-1~bpo13+1
- 4.3.4-1
- 4.3.4-1~bpo13+1
- 4.4.0-1
- 4.4.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Debian:13
- Versions
- 3.31.6-2
- 4.0.0-1
- 4.0.1-1
- 4.0.2-1
- 4.0.3-1
- 4.1.0-1
- 4.1.1+really3.31.6-1
- 4.1.1+really3.31.6-2
- 4.1.1+really4.1.1-1
- 4.1.1-1
- 4.1.1-2
- 4.1.2-1
- 4.2.0-1
- 4.2.0-2
- 4.2.1-1
- 4.2.1-2
- 4.2.2-1
- 4.2.2-2
- 4.2.3-1
- 4.2.3-1~bpo13+1
- 4.2.3-2
- 4.2.3-2~bpo13+1
- 4.3.0-1
- 4.3.0-2
- 4.3.0-3
- 4.3.0~rc3-1
- 4.3.1-1
- 4.3.1-1~bpo13+1
- 4.3.2-1
- 4.3.2-1~bpo13+1
- 4.3.3-1
- 4.3.3-1~bpo13+1
- 4.3.4-1
- 4.3.4-1~bpo13+1
- 4.4.0-1
- 4.4.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Debian:14
- Versions
- 3.31.6-2
- 4.0.0-1
- 4.0.1-1
- 4.0.2-1
- 4.0.3-1
- 4.1.0-1
- 4.1.1+really3.31.6-1
- 4.1.1+really3.31.6-2
- 4.1.1+really4.1.1-1
- 4.1.1-1
- 4.1.1-2
- 4.1.2-1
- 4.2.0-1
- 4.2.0-2
- 4.2.1-1
- 4.2.1-2
- 4.2.2-1
- 4.2.2-2
- 4.2.3-1
- 4.2.3-1~bpo13+1
- 4.2.3-2
- 4.2.3-2~bpo13+1
- 4.3.0-1
- 4.3.0-2
- 4.3.0-3
- 4.3.0~rc3-1
- 4.3.1-1
- 4.3.1-1~bpo13+1
- 4.3.2-1
- 4.3.2-1~bpo13+1
- 4.3.3-1
- 4.3.3-1~bpo13+1
- 4.3.4-1
- 4.3.4-1~bpo13+1
- 4.4.0-1
- 4.4.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Ubuntu:16.04:LTS
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Ubuntu:18.04:LTS
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Ubuntu:20.04:LTS
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Ubuntu:22.04:LTS
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Ubuntu:24.04:LTS
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Ubuntu:25.10
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Ubuntu:26.10
- Versions
- 4.2.3-2ubuntu2
- 4.3.2-1ubuntu1
- 4.3.4-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cmake Ubuntu:26.04:LTS
- Versions
- 3.31.6-2ubuntu6
- 4.1.1+really3.31.6-2ubuntu1
- 4.2.3-2ubuntu1
- 4.2.3-2ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://vuldb.com/?id.320906
- https://vuldb.com/?ctiid.320906
- https://vuldb.com/?submit.632369
- https://gitlab.kitware.com/cmake/cmake/-/issues/27135
- https://gitlab.kitware.com/cmake/cmake/-/issues/27135#note_1691629
- https://drive.google.com/file/d/1TerUqQB8_lzJTwIBCBmE94zn7n-gOz4f/view?usp=sharing
- https://gitlab.kitware.com/cmake/cmake/-/commit/37e27f71bc356d880c908040cd0cb68fa2c371b8
- https://nvd.nist.gov/vuln/detail/CVE-2025-9301