CVE-2026-138094
Awaiting Analysis Awaiting Analysis - Queue

Integer Overflow in llama.cpp up to 0.6.0

Vulnerability report for CVE-2026-138094, 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 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.

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.6.0 (inc)
ggml-org llama.cpp 0.7.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-189
CWE-197 Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-138094 is an out-of-bounds (OOB) write vulnerability in the ggml-org llama.cpp library up to version 0.6.0. It occurs in the ggml_acc_impl function where a large offset value is passed and narrowed from size_t to int32_t without validation. If the offset is too large, it truncates to a negative int32_t, which is then sign-extended to a very large size_t value. This bypasses buffer bounds checks, allowing a write operation before the destination buffer.

Detection Guidance

Detecting this vulnerability requires checking the version of ggml-org llama.cpp installed on your system. Use commands like 'llama.cpp --version' or inspect the version in the source code. If the version is below 0.7.0, the system is vulnerable.

Impact Analysis

This vulnerability allows an attacker with local access to write data outside intended memory buffers. This could lead to memory corruption, crashes, or potentially arbitrary code execution. The impact depends on the application using the vulnerable library, but it generally poses a risk to system stability and security.

Compliance Impact

This vulnerability involves an out-of-bounds write due to improper offset handling, which could lead to memory corruption. Such issues may compromise data integrity and confidentiality, potentially violating GDPR's data protection principles or HIPAA's security requirements for protected health information. However, the provided context does not explicitly link this vulnerability to specific compliance violations.

Mitigation Strategies

Upgrade ggml-org llama.cpp to version 0.7.0 or later immediately. This can be done by pulling the latest changes from the repository or downloading the release from the official GitHub page.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138094. 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...