ubuntu-cve-2025-9301
Vulnerability from osv_ubuntu
Published
2025-08-21 14:15
Modified
2026-05-20 15:16
Summary
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cmake",
            "binary_version": "3.5.1-1ubuntu3"
          },
          {
            "binary_name": "cmake-curses-gui",
            "binary_version": "3.5.1-1ubuntu3"
          },
          {
            "binary_name": "cmake-data",
            "binary_version": "3.5.1-1ubuntu3"
          },
          {
            "binary_name": "cmake-qt-gui",
            "binary_version": "3.5.1-1ubuntu3"
          }
        ],
        "priority_reason": "This is just a DoS in cmake via an assert"
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "cmake",
        "purl": "pkg:deb/ubuntu/cmake@3.5.1-1ubuntu3?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.2.2-2ubuntu3",
        "3.2.2-2ubuntu4",
        "3.3.2-1ubuntu1",
        "3.3.2is3.2.2-0ubuntu1",
        "3.3.2is3.2.2-0ubuntu2",
        "3.3.2is3.2.2-0ubuntu4",
        "3.3.2is3.2.2-0ubuntu5",
        "3.5.0-1ubuntu1",
        "3.5.0-1ubuntu2",
        "3.5.0-1ubuntu3",
        "3.5.1-1ubuntu1",
        "3.5.1-1ubuntu2",
        "3.5.1-1ubuntu3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cmake",
            "binary_version": "3.10.2-1ubuntu2.18.04.2"
          },
          {
            "binary_name": "cmake-curses-gui",
            "binary_version": "3.10.2-1ubuntu2.18.04.2"
          },
          {
            "binary_name": "cmake-data",
            "binary_version": "3.10.2-1ubuntu2.18.04.2"
          },
          {
            "binary_name": "cmake-qt-gui",
            "binary_version": "3.10.2-1ubuntu2.18.04.2"
          }
        ],
        "priority_reason": "This is just a DoS in cmake via an assert"
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "cmake",
        "purl": "pkg:deb/ubuntu/cmake@3.10.2-1ubuntu2.18.04.2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.9.1-1",
        "3.9.3-1",
        "3.9.5-1",
        "3.10.2-1",
        "3.10.2-1build1",
        "3.10.2-1ubuntu1",
        "3.10.2-1ubuntu2",
        "3.10.2-1ubuntu2.18.04.1",
        "3.10.2-1ubuntu2.18.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cmake",
            "binary_version": "3.16.3-1ubuntu1.20.04.1"
          },
          {
            "binary_name": "cmake-curses-gui",
            "binary_version": "3.16.3-1ubuntu1.20.04.1"
          },
          {
            "binary_name": "cmake-data",
            "binary_version": "3.16.3-1ubuntu1.20.04.1"
          },
          {
            "binary_name": "cmake-qt-gui",
            "binary_version": "3.16.3-1ubuntu1.20.04.1"
          }
        ],
        "priority_reason": "This is just a DoS in cmake via an assert"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "cmake",
        "purl": "pkg:deb/ubuntu/cmake@3.16.3-1ubuntu1.20.04.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.13.4-1build1",
        "3.15.4-1",
        "3.15.4-1ubuntu2",
        "3.15.4-1ubuntu3",
        "3.16.3-1ubuntu1",
        "3.16.3-1ubuntu1.20.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cmake",
            "binary_version": "3.22.1-1ubuntu1.22.04.2"
          },
          {
            "binary_name": "cmake-curses-gui",
            "binary_version": "3.22.1-1ubuntu1.22.04.2"
          },
          {
            "binary_name": "cmake-data",
            "binary_version": "3.22.1-1ubuntu1.22.04.2"
          },
          {
            "binary_name": "cmake-qt-gui",
            "binary_version": "3.22.1-1ubuntu1.22.04.2"
          }
        ],
        "priority_reason": "This is just a DoS in cmake via an assert"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "cmake",
        "purl": "pkg:deb/ubuntu/cmake@3.22.1-1ubuntu1.22.04.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.18.4-2ubuntu2",
        "3.21.4-1ubuntu2",
        "3.22.1-1ubuntu1",
        "3.22.1-1ubuntu1.22.04.1",
        "3.22.1-1ubuntu1.22.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cmake",
            "binary_version": "3.28.3-1build7"
          },
          {
            "binary_name": "cmake-curses-gui",
            "binary_version": "3.28.3-1build7"
          },
          {
            "binary_name": "cmake-data",
            "binary_version": "3.28.3-1build7"
          },
          {
            "binary_name": "cmake-qt-gui",
            "binary_version": "3.28.3-1build7"
          }
        ],
        "priority_reason": "This is just a DoS in cmake via an assert"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "cmake",
        "purl": "pkg:deb/ubuntu/cmake@3.28.3-1build7?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.27.4-1",
        "3.27.7-1",
        "3.27.8-1",
        "3.27.8-1build1",
        "3.28.1-1",
        "3.28.3-1",
        "3.28.3-1build5",
        "3.28.3-1build6",
        "3.28.3-1build7"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cmake",
            "binary_version": "3.31.6-2ubuntu6"
          },
          {
            "binary_name": "cmake-curses-gui",
            "binary_version": "3.31.6-2ubuntu6"
          },
          {
            "binary_name": "cmake-data",
            "binary_version": "3.31.6-2ubuntu6"
          },
          {
            "binary_name": "cmake-qt-gui",
            "binary_version": "3.31.6-2ubuntu6"
          }
        ],
        "priority_reason": "This is just a DoS in cmake via an assert"
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "cmake",
        "purl": "pkg:deb/ubuntu/cmake@3.31.6-2ubuntu6?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.31.6-1ubuntu1",
        "3.31.6-2ubuntu1",
        "3.31.6-2ubuntu3",
        "3.31.6-2ubuntu4",
        "3.31.6-2ubuntu5",
        "3.31.6-2ubuntu6"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cmake",
            "binary_version": "4.2.3-2ubuntu2"
          },
          {
            "binary_name": "cmake-curses-gui",
            "binary_version": "4.2.3-2ubuntu2"
          },
          {
            "binary_name": "cmake-data",
            "binary_version": "4.2.3-2ubuntu2"
          },
          {
            "binary_name": "cmake-qt-gui",
            "binary_version": "4.2.3-2ubuntu2"
          }
        ],
        "priority_reason": "This is just a DoS in cmake via an assert"
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "cmake",
        "purl": "pkg:deb/ubuntu/cmake@4.2.3-2ubuntu2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.31.6-2ubuntu6",
        "4.1.1+really3.31.6-2ubuntu1",
        "4.2.3-2ubuntu1",
        "4.2.3-2ubuntu2"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2025-9301",
  "modified": "2026-05-20T15:16:00Z",
  "published": "2025-08-21T14:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-9301"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-9301"
    },
    {
      "type": "REPORT",
      "url": "https://drive.google.com/file/d/1TerUqQB8_lzJTwIBCBmE94zn7n-gOz4f/view?usp=sharing"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.320906"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?id.320906"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?submit.632369"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "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",
      "type": "CVSS_V4"
    },
    {
      "score": "negligible",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-9301"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…