Skip to content
OpenAdvisories
Low · 3.3 CVE-2025-9301 EUVD-2025-25423GHSA-mff3-m38v-mgv6

cmake cmForEachCommand.cxx ReplayItems assertion

Published Aug 21, 2025 · Updated Aug 21, 2025 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
— cmake 4.1.20250725-gb5cce23 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cmake No fix yet —
Debian 13 cmake No fix yet —
Debian 12 cmake No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 cmake No fix yet —
Ubuntu 26.04 LTS cmake No fix yet —
Ubuntu 25.10 cmake No fix yet —
Ubuntu 24.04 LTS cmake No fix yet —
Ubuntu 22.04 LTS cmake No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS cmake No fix yet —
Ubuntu 18.04 LTS cmake No fix yet —
Ubuntu 16.04 LTS cmake No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 cmake +1 3.28.3-150600.3.3.1 SUSE-SU-2025:3812-1
SLES 15 SP6 cmake +1 3.28.3-150600.3.3.1 SUSE-SU-2025:3812-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 cmake +2 3.28.3-150600.3.3.1 SUSE-SU-2025:3812-1
openSUSE Leap 15.6 cmake3 +1 3.20.0-150200.6.6.1 SUSE-SU-2025:02975-1
openSUSE Leap 15.6 cmake3-ui 3.17.0-150000.1.9.1 SUSE-SU-2025:02976-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake 3.30.3-9 —
Azure Linux 2 (CBL-Mariner) cmake 3.21.4-19 —

Advisories 4

References