CVE-2025-9301

Source
https://cve.org/CVERecord?id=CVE-2025-9301
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9301.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-9301
Downstream
Related
Published
2025-08-21T13:32:08.995Z
Modified
2026-07-22T01:09:33.722869Z
Severity
  • 1.9 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
cmake cmForEachCommand.cxx ReplayItems assertion
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9301.json",
    "cna_assigner": "VulDB",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "4.1.20250725-gb5cce23"
                },
                {
                    "last_affected": "4.1.20250725-gb5cce23"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-617"
    ]
}
References

Affected packages

Git / gitlab.kitware.com/cmake/cmake

Affected ranges

Type
GIT
Repo
https://gitlab.kitware.com/cmake/cmake
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

v2.*
v2.8.10
v2.8.11
v2.8.12
v2.8.2
v2.8.3
v2.8.4
v2.8.5
v2.8.6
v2.8.7
v2.8.8
v2.8.9

Database specific

vanir_signatures_modified
"2026-07-22T01:09:33Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "target": {
            "file": "Source/cmForEachCommand.cxx"
        },
        "id": "CVE-2025-9301-09a05382",
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "228043602418574992660422980917345339206",
                "45640607635578571517308188507225526581",
                "87054998341120757898501218577121764349",
                "72846618754852695696322263449499194572"
            ]
        },
        "source": "https://gitlab.kitware.com/cmake/cmake@37e27f71bc356d880c908040cd0cb68fa2c371b8"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "Source/cmForEachCommand.cxx",
            "function": "cmForEachFunctionBlocker::Replay"
        },
        "id": "CVE-2025-9301-ef7bf956",
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "function_hash": "302829191689443455907304212024363053501",
            "length": 185.0
        },
        "source": "https://gitlab.kitware.com/cmake/cmake@37e27f71bc356d880c908040cd0cb68fa2c371b8"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9301.json"