OESA-2025-2145

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-2145
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-2145.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2025-2145
Upstream
Published
2025-09-05T12:42:38Z
Modified
2025-09-05T13:18:08.881312Z
Summary
cmake security update
Details

CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, preprocessor generation, code generation, and template instantiation.

Security Fix(es):

A vulnerability was identified in cmake version 4.1.20250725-gb5cce23, affecting the cmForEachFunctionBlocker::ReplayItems function in the cmForEachCommand.cxx file. This vulnerability can lead to a reachable assertion error and requires local access to exploit. The exploit details have been publicly disclosed and may be utilized. It is recommended to apply patch 37e27f71bc356d880c908040cd0cb68fa2c371b8 to mitigate this issue.(CVE-2025-9301)

Database specific
{
    "severity": "Low"
}
References

Affected packages

openEuler:22.03-LTS-SP3 / cmake

Package

Name
cmake
Purl
pkg:rpm/openEuler/cmake&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.22.0-11.oe2203sp3

Ecosystem specific

{
    "aarch64": [
        "cmake-3.22.0-11.oe2203sp3.aarch64.rpm",
        "cmake-filesystem-3.22.0-11.oe2203sp3.aarch64.rpm",
        "cmake-gui-3.22.0-11.oe2203sp3.aarch64.rpm"
    ],
    "noarch": [
        "cmake-data-3.22.0-11.oe2203sp3.noarch.rpm",
        "cmake-help-3.22.0-11.oe2203sp3.noarch.rpm",
        "cmake-rpm-macros-3.22.0-11.oe2203sp3.noarch.rpm"
    ],
    "src": [
        "cmake-3.22.0-11.oe2203sp3.src.rpm"
    ],
    "x86_64": [
        "cmake-3.22.0-11.oe2203sp3.x86_64.rpm",
        "cmake-filesystem-3.22.0-11.oe2203sp3.x86_64.rpm",
        "cmake-gui-3.22.0-11.oe2203sp3.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2025-2145.json"