CVE-2026-138092
Awaiting Analysis Awaiting Analysis - Queue

Integer Overflow in llama.cpp Ggml Tensor Library

Vulnerability report for CVE-2026-138092, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-29

Last updated on: 2026-11-29

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-29
Last Modified
2026-11-29
Generated
2026-11-29
AI Q&A
2026-11-29
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
ggml-org llama.cpp to 0.8.0 (inc)
ggml-org llama.cpp 0.9.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
CWE-189

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a signed integer overflow in the ggml-org llama.cpp library up to version 0.8.0. It occurs in the ggml_roll function of ggml/src/ggml.c due to unsafe use of abs(shift) which causes undefined behavior when shift equals INT_MIN. The fix replaces this with a safe bounds check.

Detection Guidance

To detect this vulnerability, check the version of ggml-org llama.cpp installed on your system. If it is version 0.8.0 or earlier, the system is vulnerable. Use commands like 'llama.cpp --version' or inspect package managers for installed versions.

Impact Analysis

An attacker could exploit this locally to cause undefined behavior or crashes in applications using affected versions. The impact is limited to local attacks with low privileges as per CVSS scores.

Compliance Impact

This vulnerability involves a signed integer overflow in the ggml tensor library, which could lead to undefined behavior or crashes. While not directly impacting GDPR or HIPAA compliance, such vulnerabilities may expose systems to unauthorized access or data corruption, potentially violating confidentiality and integrity requirements under these regulations.

Mitigation Strategies

Upgrade ggml-org llama.cpp to version 0.9.0 or later immediately. Apply the patch identified as 0978a6e9022fb9bd6874b86154ee304e81929b9f to fix the integer overflow issue in the ggml_roll function.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138092. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...