Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious ncnn model with bad MatMul dims
-
DeliveryDeliver crafted model to victim application
-
ExploitVictim loads and runs inference
-
ExecutionTrigger out-of-bounds read in matmul_transb
-
ImpactLeak adjacent memory or crash process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to load and run inference on an attacker-supplied ncnn model/input that reaches the MatMul layer's matmul_transb code path (the transposed-B matrix-multiply operation) with manipulated dimension parameters that exceed buffer bounds. The CVSS UI:P metric confirms a user-interaction/content-processing step is mandatory - there is no standalone network-listening service being attacked; the attacker must get their crafted model consumed by the target application. This limits exploitation to workflows that ingest untrusted third-party models (e.g., downloaded or user-submitted models). Impact is bounded to memory disclosure and possible crash; no authentication is required (PR:N) but the malicious data must be processed by a vulnerable build up to commit 44b02dabdcf97499281a4692ebd65bad73dcf8b6. |
| Impact | This is a genuine but moderate-severity issue, not a top-priority emergency. The CVSS 4.0 base score of 5.3 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L) reflects an out-of-bounds read (CWE-125) with low impact and a required user-interaction (UI:P) component, meaning the victim must load or process attacker-supplied data (a crafted model/weights handled by the MatMul layer). Although the vector is marked AV:N (network), the realistic delivery path for an inference library like ncnn is a malicious model or input file rather than a listening network service, so 'remote' here means attacker-supplied content, not a directly reachable endpoint - verify the deployment context. The CVSS Exploit Maturity is E:P (Proof-of-Concept), consistent with the input signal that a POC is publicly available via the GitHub issue; publicly available exploit code exists, but this is distinct from active exploitation. The CVE is NOT in CISA KEV and no EPSS score was provided, so there is no evidence of widespread or targeted in-the-wild use. The VI:L/VA:L (integrity/availability low) ratings are generous for a pure out-of-bounds READ - the realistic primary impact is information disclosure (memory leak) and potential crash (DoS), so treat integrity impact as uncertain. Net: a low-impact, POC-stage memory-disclosure bug in an AI inference library whose vendor has not yet responded; patch when practical but it is not a high-real-risk flaw. |
| Exploit ScenarioDerived | An attacker crafts a malicious ncnn model or weight file with manipulated MatMul (matmul_transb) dimensions and distributes it (e.g., via a model-sharing repository or supply-chain). When a victim application loads and runs inference on the crafted model, the out-of-bounds read in src/layer/matmul.cpp leaks adjacent process memory or crashes the process. A public proof-of-concept exists (referenced in the Tencent/ncnn GitHub issue), lowering the barrier to reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Out-of-bounds reads in Tencent ncnn's MatMul layer can disclose process memory or crash inference workloads when a crafted model drives matmul_transb with inconsistent dimensions. Affected builds are those at or before commit 44b02dabdcf97499281a4692ebd65bad73dcf8b6, and exploitation requires the victim to load and run an attacker-supplied model (UI:P); no KEV entry exists, but publicly available exploit code exists. The issue is genuine but moderate severity, with impact bounded to memory disclosure and possible denial of service rather than code execution.
RemediationAI
No vendor-released patch identified at time of analysis. Track https://github.com/Tencent/ncnn/issues/7034 and https://github.com/Tencent/ncnn/ for an upstream fix, and consult https://vuldb.com/vuln/421752 for updates. Until a patched build is available, do not load or run untrusted third-party ncnn models; enforce model allowlisting and provenance checks, and run model conversion/inference in an isolated sandbox or container with least privilege and memory limits so that an out-of-bounds read cannot expose sensitive process memory. Disabling or gating MatMul operations is an option only for workflows that do not need matrix multiplication, since it will break affected models; otherwise, isolate the inference process and monitor for crashes or anomalous memory access as signs of attempted exploitation.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Tencent ncnn is a C++ neural-network inference framework used to run models on constrained devices. The flaw is an out-of-bounds read (CWE-125) in matmul_transb, the transposed-B matrix-multiply path in src/layer/matmul.cpp, where model-supplied dimension parameters are not adequately validated against allocated buffer sizes. The CPE cpe:2.3:a:tencent:ncnn:*:*:*:*:*:*:*:* is a wildcard, and the provided data does not identify a fixed release; the vulnerable code is bounded by commit 44b02dabdcf97499281a4692ebd65bad73dcf8b6. Exploitation is not a standalone network-service attack: the attacker must get a crafted ncnn model or input consumed by a vulnerable application, and the CVSS 4.0 E:P metric plus the public GitHub issue 7034 show the path is demonstrably reachable. Because the weakness is a read, the practical effect is memory disclosure and possible crash, not write-based code execution.
Know when Tencent gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Attacker-supplied model must be loaded by the victim (UI:R) with no auth (PR:N); out-of-bounds read yields memory disclosure (C:L) and possible crash (A:L), no integrity impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dcf8b6. Affected by this vulnerability is the function matmul_transb of the file src/layer/matmul.cpp of the component MatMul. The manipulation leads to out-of-bounds read. The attack can be initiated remotely. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
WeKnora LLM framework (before 0.2.5) allows authenticated users to inject MCP stdio commands that the server executes as
OS command injection in WeKnora from version 0.2.5 allows authenticated users to execute arbitrary system commands. CVSS
SQL injection in WeKnora LLM document understanding framework allows authenticated users to extract arbitrary database c
vConsole v3.15.0 was discovered to contain a prototype pollution due to incorrect key and value resolution in setOptions
Insufficient authorization checks in WeKnora's tenant management endpoints allow any authenticated user to read, modify,
Insecure Permissions vulnerability in Tencent wechat v.8.0.37 allows an attacker to escalate privileges via the web-view
Tencent Blueking CMDB v3.2.x to v3.9.x was discovered to contain a Server-Side Request Forgery (SSRF) via the event subs
Tencent GameLoop before 4.1.21.90 downloaded updates over an insecure HTTP connection. Rated high severity (CVSS 8.1), t
In Tencent QQ through 9.7.8.29039 and TIM through 3.4.7.22084, QQProtect.exe and QQProtectEngine.dll do not validate poi
HaboMalHunter through 2.0.0.3 in Tencent Habo allows attackers to evade dynamic malware analysis via PIE compilation. Ra
Tencent tdsqlpcloud through 1.8.5 allows unauthenticated remote attackers to discover database credentials via an index.
A vulnerability in the lua parser of TscanCode tsclua v2.15.01 allows attackers to cause a Denial of Service (DoS) via a
EUVD-2026-104055
GHSA-fx59-v8wm-992x
NVD
CVE.org
VulDB
Exploit-DB