Skip to main content

ncnn CVE-2026-50144

| EUVDEUVD-2026-44794 HIGH
Improper Input Validation (CWE-20)
2026-07-15 GitHub_M
7.1
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
7.1 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
vuln.today AI
7.1 HIGH

Exploitation needs a victim to load a malicious local model file, so AV:L and UI:R with PR:N; a heap-write corruption yields I:H/A:H but no disclosure, so C:N.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch available
Jul 15, 2026 - 22:33 EUVD
Source Code Evidence Fetched
Jul 15, 2026 - 20:32 vuln.today
Analysis Generated
Jul 15, 2026 - 20:32 vuln.today
CVE Published
Jul 15, 2026 - 20:04 cve.org
HIGH 7.1

DescriptionCVE.org

ncnn is a high-performance neural network inference framework optimized for the mobile platform. In commit e54f7b1f88434e1d844ea0551b880a1cfb079ce1 and earlier, ncnn allows an out-of-bounds heap write in ncnn::ParamDict::load_param() when Net::load_param() loads a malicious .param model file because the parsed parameter id is checked only against id >= NCNN_MAX_PARAM_COUNT, allowing a negative id to index before the params[NCNN_MAX_PARAM_COUNT] array. This vulnerability is fixed by commit 5a0288f255daa6c3294f77109f67718e434ec020.

AnalysisAI

Out-of-bounds heap write in Tencent's ncnn neural-network inference framework allows a crafted .param model file to corrupt heap memory when parsed by Net::load_param(). Because ParamDict::load_param() and load_param_bin() validated the parsed parameter id only against the upper bound (id >= NCNN_MAX_PARAM_COUNT), a negative id indexes before the params[] array, giving an attacker a write primitive below the allocated buffer. No public exploit is identified at time of analysis and the issue is not in CISA KEV; an upstream source-code fix is available.

Technical ContextAI

ncnn (CPE cpe:2.3:a:tencent:ncnn) is a widely used C++ neural-network inference framework optimized for mobile/embedded deployment that consumes model definitions from .param files in both text and binary form. The root cause is CWE-20 improper input validation: in src/paramdict.cpp the parameter id read from the untrusted model file was bounds-checked only with 'id >= NCNN_MAX_PARAM_COUNT', omitting any lower-bound check. A negative id therefore passes validation and is then used to index the fixed-size params[NCNN_MAX_PARAM_COUNT] member, producing an out-of-bounds heap write at a negative offset below the array base. The fix adds 'id < 0 ||' to both the text loader (load_param) and the binary loader (load_param_bin).

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the fix from commit 5a0288f255daa6c3294f77109f67718e434ec020 (https://github.com/Tencent/ncnn/commit/5a0288f255daa6c3294f77109f67718e434ec020), which adds a lower-bound 'id < 0' check to both load_param and load_param_bin, or upgrade to an ncnn release that includes it; consult the advisory at https://github.com/Tencent/ncnn/security/advisories/GHSA-jxmc-3mv6-7pwr for release guidance. Because no fixed release tag is provided in the input, verify the shipping version contains the patched paramdict.cpp before relying on it. As a compensating control until patched, do not load .param/.param.bin files from untrusted sources - restrict model loading to a trusted, integrity-verified pipeline (e.g. signed or checksummed model artifacts), which trades off the ability to accept arbitrary user-supplied models. If rebuilding is possible, applying the two-line diff locally is low-risk with no functional side effect on valid models.

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

Vendor StatusVendor

SUSE

Severity: Important

Share

CVE-2026-50144 vulnerability details – vuln.today

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