{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138094",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2026-11-27T20:26:20.751Z",
        "datePublished": "2026-11-28T23:45:25.902Z",
        "dateUpdated": "2026-11-28T23:45:25.902Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2026-11-28T23:45:25.902Z"
            },
            "title": "ggml-org llama.cpp ggml ggml.c ggml_acc_impl numeric truncation error",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-197",
                            "lang": "en",
                            "description": "Numeric Truncation Error"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-189",
                            "lang": "en",
                            "description": "Numeric Error"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "ggml-org",
                    "product": "llama.cpp",
                    "versions": [
                        {
                            "version": "0.1",
                            "status": "affected"
                        },
                        {
                            "version": "0.2",
                            "status": "affected"
                        },
                        {
                            "version": "0.3",
                            "status": "affected"
                        },
                        {
                            "version": "0.4",
                            "status": "affected"
                        },
                        {
                            "version": "0.5",
                            "status": "affected"
                        },
                        {
                            "version": "0.6.0",
                            "status": "affected"
                        },
                        {
                            "version": "0.7.0",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*"
                    ],
                    "modules": [
                        "ggml Handler"
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 4.8,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 4.4,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 4.4,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 3.2,
                        "vectorString": "AV:L/AC:L/Au:S/C:N/I:P/A:P/E:ND/RL:OF/RC:C"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2026-11-27T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2026-11-27T01:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2026-11-27T21:32:05.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Jasmine-tim (VulDB User)",
                    "type": "reporter"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/vuln/445011",
                    "name": "VDB-445011 | ggml-org llama.cpp ggml ggml.c ggml_acc_impl numeric truncation error",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/vuln/445011/cti",
                    "name": "VDB-445011 | CTI Indicators (IOB, IOC, IOA)",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://vuldb.com/cve/CVE-2026-138094",
                    "name": "CVE-2026-138094 | CVE Analysis and Report",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://vuldb.com/submit/1071576",
                    "name": "Submit #1071576 | ggml-org llama.cpp up to 0.6.0 (fixed in 0.7.0 / commit 8ae386707bed05f02354dbfc6fa Out-of-bounds Write",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/pull/30135",
                    "tags": [
                        "issue-tracking",
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/commit/8ae386707bed05f02354dbfc6fa5ee0cf58e5f0f",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/releases/tag/v0.7.0",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/",
                    "tags": [
                        "product"
                    ]
                }
            ],
            "tags": [
                "x_open-source"
            ],
            "x_generator": [
                "VulDB PVTS v202611"
            ]
        }
    }
}