Skip to main content

Tencent ncnn EUVDEUVD-2026-104055

| CVE-2026-112073 LOW
Out-of-bounds Read (CWE-125)
2026-10-19 VulDB GHSA-fx59-v8wm-992x
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious ncnn model with bad MatMul dims
  2. Delivery
    Deliver crafted model to victim application
  3. Exploit
    Victim loads and runs inference
  4. Execution
    Trigger out-of-bounds read in matmul_transb
  5. Impact
    Leak 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ncnn 44b02dabdcf97499281a4692ebd65bad73dcf8b6

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Oct 19, 2026 - 04:22 NVD
MEDIUM LOW
CVSS changed
Oct 19, 2026 - 04:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Oct 19, 2026 - 03:15 cve.org
MEDIUM 5.3

DescriptionCVE.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

Prevalence
Medium
popular open-source mobile/edge AI inference library, not universally deployed
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS N/A
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-22688 CRITICAL POC
9.9 Jan 10

WeKnora LLM framework (before 0.2.5) allows authenticated users to inject MCP stdio commands that the server executes as

CVE-2026-30861 CRITICAL POC
9.9 Mar 07

OS command injection in WeKnora from version 0.2.5 allows authenticated users to execute arbitrary system commands. CVSS

CVE-2026-30860 CRITICAL POC
9.9 Mar 07

SQL injection in WeKnora LLM document understanding framework allows authenticated users to extract arbitrary database c

CVE-2023-30363 CRITICAL POC
9.8 Apr 26

vConsole v3.15.0 was discovered to contain a prototype pollution due to incorrect key and value resolution in setOptions

CVE-2026-30855 HIGH POC
8.8 Mar 07

Insufficient authorization checks in WeKnora's tenant management endpoints allow any authenticated user to read, modify,

CVE-2024-40433 HIGH POC
8.8 Jul 26

Insecure Permissions vulnerability in Tencent wechat v.8.0.37 allows an attacker to escalate privileges via the web-view

CVE-2024-22873 HIGH POC
8.1 Feb 26

Tencent Blueking CMDB v3.2.x to v3.9.x was discovered to contain a Server-Side Request Forgery (SSRF) via the event subs

CVE-2021-33879 HIGH POC
8.1 Jun 06

Tencent GameLoop before 4.1.21.90 downloaded updates over an insecure HTTP connection. Rated high severity (CVSS 8.1), t

CVE-2023-34312 HIGH POC
7.8 Jun 01

In Tencent QQ through 9.7.8.29039 and TIM through 3.4.7.22084, QQProtect.exe and QQProtectEngine.dll do not validate poi

CVE-2019-13125 HIGH POC
7.8 Jul 01

HaboMalHunter through 2.0.0.3 in Tencent Habo allows attackers to evade dynamic malware analysis via PIE compilation. Ra

CVE-2023-52286 HIGH POC
7.5 Dec 31

Tencent tdsqlpcloud through 1.8.5 allows unauthenticated remote attackers to discover database credentials via an index.

CVE-2022-35158 HIGH POC
7.5 Aug 03

A vulnerability in the lua parser of TscanCode tsclua v2.15.01 allows attackers to cause a Denial of Service (DoS) via a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy