# CVE-2026-138094: ggml-org llama.cpp ggml ggml.c ggml_acc_impl numeric truncation error

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-28T23:45:25.902Z
- Modified: 2026-11-29T00:16:58.617Z
- Weaknesses: CWE-189, CWE-197
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- ggml-org llama.cpp: 0.1; 0.2; 0.3; 0.4; 0.5; 0.6.0 (not affected: 0.7.0)

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:3.0 4.4 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:2.0 3.2 Low `AV:L/AC:L/Au:S/C:N/I:P/A:P/E:ND/RL:OF/RC:C`

## References

- <https://vuldb.com/vuln/445011> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/445011/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-138094> (third-party-advisory)
- <https://vuldb.com/submit/1071576> (third-party-advisory)
- <https://github.com/ggml-org/llama.cpp/pull/30135> (issue-tracking, patch)
- <https://github.com/ggml-org/llama.cpp/commit/8ae386707bed05f02354dbfc6fa5ee0cf58e5f0f> (patch)
- <https://github.com/ggml-org/llama.cpp/releases/tag/v0.7.0> (patch)
- <https://github.com/ggml-org/llama.cpp/> (product)

## Sources

- CVE List: [CVE-2026-138094](https://www.cve.org/CVERecord?id=CVE-2026-138094), CVE Terms of Use, modified 2026-11-28
- NVD: [CVE-2026-138094](https://nvd.nist.gov/vuln/detail/CVE-2026-138094), Public domain, modified 2026-11-29

---

Page: https://cve.day/CVE-2026-138094 · Whole record: https://cve.day/CVE-2026-138094.json · Rebuilt by cve.day 2026-11-29T00:17:32.938Z
