{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.1"
                  },
                  {
                    "last_affected": "0.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.2"
                  },
                  {
                    "last_affected": "0.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.3"
                  },
                  {
                    "last_affected": "0.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.4"
                  },
                  {
                    "last_affected": "0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.5"
                  },
                  {
                    "last_affected": "0.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.6.0"
                  },
                  {
                    "last_affected": "0.6.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "8ae386707bed05f02354dbfc6fa5ee0cf58e5f0f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.7.0",
                "range": [
                  {
                    "fixed": "620d2225cc436ab0b001e3200e590e3b286ef9ab"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0ecb1bbbeb16e36a2ea7a5ce525c6c59ef74312b"
            },
            {
              "last_affected": "d81235049384534c167caea52b85a694f6103d14"
            },
            {
              "fixed": "8ae386707bed05f02354dbfc6fa5ee0cf58e5f0f"
            },
            {
              "fixed": "620d2225cc436ab0b001e3200e590e3b286ef9ab"
            }
          ],
          "repo": "https://github.com/ggml-org/llama.cpp",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.1",
        "0.2",
        "0.3",
        "0.4",
        "0.5",
        "0.6.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-189",
      "CWE-197"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138094.json"
  },
  "details": "A security vulnerability has been detected in ggml-org llama.cpp up to 0.6.0. Impacted is the function ggml_acc_impl of the file ggml/src/ggml.c of the component ggml Handler. Such manipulation leads to numeric truncation error. The attack can only be performed from a local environment. Upgrading to version 0.7.0 is recommended to address this issue. The name of the patch is 8ae386707bed05f02354dbfc6fa5ee0cf58e5f0f. It is recommended to upgrade the affected component.",
  "id": "CVE-2026-138094",
  "modified": "2026-11-29T00:45:14.962554249Z",
  "published": "2026-11-28T23:45:25.902Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138094.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ggml-org/llama.cpp/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ggml-org/llama.cpp/commit/8ae386707bed05f02354dbfc6fa5ee0cf58e5f0f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ggml-org/llama.cpp/pull/30135"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ggml-org/llama.cpp/releases/tag/v0.7.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138094"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-138094"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1071576"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/445011"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/445011/cti"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ggml-org llama.cpp ggml ggml.c ggml_acc_impl numeric truncation error"
}