{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.9.0"
              },
              {
                "fixed": "0.13.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "fa8c9be2043b9719e818d65d0d718723f04850e9"
            },
            {
              "fixed": "7a7263229c6fa2deb385789b95093826df0fa572"
            }
          ],
          "repo": "https://github.com/dfinity/motoko",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9rhg-3qf8-hrv3"
  ],
  "details": "Motoko's incremental garbage collector is impacted by an uninitialized memory access bug, caused by incorrect use of write barriers in a few locations. This vulnerability could potentially allow unauthorized read or write access to a Canister's memory. However, exploiting this bug requires the Canister to enable the incremental garbage collector or enhanced orthogonal persistence, which are non-default features in Motoko.",
  "id": "CVE-2024-11991",
  "modified": "2026-03-10T21:49:00.709783450Z",
  "published": "2024-12-09T15:15:12.203Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dfinity/motoko/pull/4677"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}