{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138092",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2026-11-27T20:26:12.716Z",
        "datePublished": "2026-11-28T23:15:26.563Z",
        "dateUpdated": "2026-11-28T23:15:26.563Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2026-11-28T23:15:26.563Z"
            },
            "title": "ggml-org llama.cpp Ggml Tensor Library Roll Operation ggml.c ggml_roll integer overflow",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-190",
                            "lang": "en",
                            "description": "Integer Overflow"
                        }
                    ]
                },
                {
                    "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",
                            "status": "affected"
                        },
                        {
                            "version": "0.7",
                            "status": "affected"
                        },
                        {
                            "version": "0.8.0",
                            "status": "affected"
                        },
                        {
                            "version": "0.9.0",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*"
                    ],
                    "modules": [
                        "Ggml Tensor Library Roll Operation"
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A security flaw has been discovered in ggml-org llama.cpp up to 0.8.0. This vulnerability affects the function ggml_roll of the file ggml/src/ggml.c of the component Ggml Tensor Library Roll Operation. The manipulation results in integer overflow. The attack needs to be approached locally. Upgrading to version 0.9.0 is able to resolve this issue. The patch is identified as 0978a6e9022fb9bd6874b86154ee304e81929b9f. It is suggested 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:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 5.3,
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 5.3,
                        "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 4.3,
                        "vectorString": "AV:L/AC:L/Au:S/C:P/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:31:54.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Jasmine-tim (VulDB User)",
                    "type": "reporter"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/vuln/445009",
                    "name": "VDB-445009 | ggml-org llama.cpp Ggml Tensor Library Roll Operation ggml.c ggml_roll integer overflow",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/vuln/445009/cti",
                    "name": "VDB-445009 | CTI Indicators (IOB, IOC, IOA)",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://vuldb.com/cve/CVE-2026-138092",
                    "name": "CVE-2026-138092 | CVE Analysis and Report",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://vuldb.com/submit/1071565",
                    "name": "Submit #1071565 | ggml-org llama.cpp up to 0.8.0 (master before commit 0978a6e9022fb9bd6874b86154ee304e81929b9f) Integer Overflow",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/pull/30375",
                    "tags": [
                        "issue-tracking",
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/commit/0978a6e9022fb9bd6874b86154ee304e81929b9f",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/releases/tag/v0.9.0",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/",
                    "tags": [
                        "product"
                    ]
                }
            ],
            "tags": [
                "x_open-source"
            ],
            "x_generator": [
                "VulDB PVTS v202611"
            ]
        }
    }
}