cmake 4.1.20250725-gb5cce23 cmForEachCommand.cxx ReplayItems assertion

Summaryinfo

A vulnerability described as problematic has been identified in cmake 4.1.20250725-gb5cce23. This vulnerability affects the function cmForEachFunctionBlocker::ReplayItems of the file cmForEachCommand.cxx. Such manipulation leads to assertion. This vulnerability is documented as CVE-2025-9301. The attack needs to be performed locally. Additionally, an exploit exists. A patch should be applied to remediate this issue.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in cmake 4.1.20250725-gb5cce23. Affected by this issue is the function cmForEachFunctionBlocker::ReplayItems of the file cmForEachCommand.cxx. The manipulation with an unknown input leads to a assertion vulnerability. Using CWE to declare the problem leads to CWE-617. The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary. Impacted is availability.

The advisory is available at gitlab.kitware.com. This vulnerability is handled as CVE-2025-9301. The exploitation is known to be easy. Local access is required to approach this attack. Technical details as well as a public exploit are known.

The exploit is available at drive.google.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 255213 (openSUSE 15 Security Update : cmake3 (SUSE-SU-2025:02975-1)), which helps to determine the existence of the flaw in a target environment.

Applying the patch 37e27f71bc356d880c908040cd0cb68fa2c371b8 is able to eliminate this problem. The bugfix is ready for download at gitlab.kitware.com.

The vulnerability is also documented in the vulnerability database at Tenable (255213). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.3
VulDB Meta Temp Score: 3.0

VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Assertion
CWE: CWE-617
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 255213
Nessus Name: openSUSE 15 Security Update : cmake3 (SUSE-SU-2025:02975-1)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: 37e27f71bc356d880c908040cd0cb68fa2c371b8

Timelineinfo

08/21/2025 Advisory disclosed
08/21/2025 +0 days VulDB entry created
08/26/2025 +5 days VulDB entry last update

Sourcesinfo

Advisory: 27135
Status: Confirmed
Confirmation: 🔒

CVE: CVE-2025-9301 (🔒)
GCVE (CVE): GCVE-0-2025-9301
GCVE (VulDB): GCVE-100-320906
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 08/21/2025 07:33
Updated: 08/26/2025 22:05
Changes: 08/21/2025 07:33 (59), 08/26/2025 22:05 (2)
Complete: 🔍
Submitter: xdcao
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #632369: cmake 4.1.20250725-gb5cce23 and other recent versions of the 4.x series. assertion failure (by xdcao)

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!