CVE-2025-9301
published medium CVSS 4.0 · 4.8cmake cmForEachCommand.cxx ReplayItems assertion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | cmake4.1.20250725-gb5cce23 | Affected | Not stated | VulDB |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP6 | cmakeaarch64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP6 | cmakeppc64le | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP6 | cmakes390x | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP6 | cmakex86_64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP7 | cmakeaarch64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
Show 35 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | cmakeppc64le | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP7 | cmakes390x | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP7 | cmakex86_64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmakeaarch64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmakeppc64le | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmakes390x | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmakex86_64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP6 | cmake-fullaarch64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP6 | cmake-fullppc64le | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP6 | cmake-fulls390x | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP6 | cmake-fullx86_64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP7 | cmake-fullaarch64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP7 | cmake-fullppc64le | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP7 | cmake-fulls390x | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | SLE-15-SP7 | cmake-fullx86_64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-fullaarch64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-fullppc64le | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-fulls390x | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-fullx86_64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-guiaarch64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-guippc64le | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-guis390x | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-guix86_64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-manaarch64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-manppc64le | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-mans390x | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake-manx86_64 | Advisory build | 3.28.3-150600.3.3.1 | SUSE-SU-2025:3812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake3aarch64 | Advisory build | 3.20.0-150200.6.6.1 | SUSE-SU-2025:02975-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake3ppc64le | Advisory build | 3.20.0-150200.6.6.1 | SUSE-SU-2025:02975-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake3s390x | Advisory build | 3.20.0-150200.6.6.1 | SUSE-SU-2025:02975-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake3x86_64 | Advisory build | 3.20.0-150200.6.6.1 | SUSE-SU-2025:02975-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake3-fullaarch64 | Advisory build | 3.20.0-150200.6.6.1 | SUSE-SU-2025:02975-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake3-fullppc64le | Advisory build | 3.20.0-150200.6.6.1 | SUSE-SU-2025:02975-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake3-fulls390x | Advisory build | 3.20.0-150200.6.6.1 | SUSE-SU-2025:02975-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cmake3-fullx86_64 | Advisory build | 3.20.0-150200.6.6.1 | SUSE-SU-2025:02975-1 |
Description
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.
In cmake 4.1.20250725-gb5cce23 wurde eine Schwachstelle gefunden. Dies betrifft die Funktion cmForEachFunctionBlocker::ReplayItems der Datei cmForEachCommand.cxx. Die Veränderung resultiert in reachable assertion. Der Angriff muss lokal erfolgen. Der Exploit wurde der Öffentlichkeit bekannt gemacht und könnte verwendet werden. Der Patch heißt 37e27f71bc356d880c908040cd0cb68fa2c371b8. Es wird empfohlen, einen Patch anzuwenden, um dieses Problem zu beheben.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulDB · cna | 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 | — |
| 3.0 | 3.3 | low | VulDB · cna | 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 | — |
| 2.0 | 1.7 | low | VulDB · cna | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | cmake | 4.1.20250725-gb5cce23 (affected) | VulDB · cna |
Weaknesses
1- CWE-617 Reachable Assertion
References
7- https://drive.google.com/file/d/1TerUqQB8_lzJTwIBCBmE94zn7n-gOz4f/view?usp=sharing
- https://gitlab.kitware.com/cmake/cmake/-/commit/37e27f71bc356d880c908040cd0cb68fa2c371b8
- https://gitlab.kitware.com/cmake/cmake/-/issues/27135
- https://gitlab.kitware.com/cmake/cmake/-/issues/27135#note_1691629
- VDB-320906 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.320906
- VDB-320906 | cmake cmForEachCommand.cxx ReplayItems assertion https://vuldb.com/?id.320906
- Submit #632369 | cmake 4.1.20250725-gb5cce23 and other recent versions of the 4.x series. assertion failure https://vuldb.com/?submit.632369
Provider assertions
2VulDB · cna
cmake cmForEachCommand.cxx ReplayItems assertion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0bebb09a0d5c354c33f7a15f051d7d32695ca17eb18338ec0d0302e5c8772023
- Ingested
- 23 Sep 2026, 08:59:28 UTC
- Source record
- Official CVE record