Skip to main content

Tencent ncnn CVE-2026-112074

| EUVDEUVD-2026-104056 LOW
Integer Overflow or Wraparound (CWE-190)
2026-10-19 VulDB
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted YUV420SP image to target app
  2. Exploit
    Trigger integer overflow in yuv420sp2rgb size math
  3. Execution
    Undersized allocation causes out-of-bounds heap write
  4. Impact
    Crash or limited memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

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 target application to invoke ncnn's YUV-to-RGB Conversion API (the ncnn::yuv420sp2rgb function in src/mat_pixel.cpp) on attacker-controlled image data, supplying crafted width/height/stride values that overflow an integer during buffer-size calculation. Concrete limiting factors: the victim application must actually accept and convert external YUV420SP input (UI:P / application-mediated processing), the deployment must use ncnn at or before commit 44b02dabdcf97499281a4692ebd65bad73dcf8b6, and the resulting impact is limited (Low confidentiality/integrity/availability, no scope change) - making denial of service or bounded heap corruption the realistic outcome rather than reliable remote code execution.

Impact

This is a medium-severity issue (CVSS 4.0 base 5.3) whose signals are internally consistent but point to limited real-world urgency. The vector AV:N/AC:L/PR:N/UI:P describes a remotely-reachable, unauthenticated, low-complexity flaw that nonetheless requires passive user interaction (UI:P) - the victim application must actually ingest and convert an attacker-supplied YUV420SP image via ncnn's Conversion API. Impact is uniformly Low across confidentiality, integrity and availability (VC:L/VI:L/VA:L) with no scope change, which is typical of an integer overflow (CWE-190) that may corrupt a heap buffer rather than yielding reliable code execution. The CVSS 4.0 Exploit Maturity is E:P (Proof-of-Concept), and the intelligence confirms publicly available exploit code via the GitHub issue, so 'publicly available exploit code exists' - but there is NO CISA KEV listing and NO EPSS score provided in the input, so widespread or active exploitation cannot be asserted. A noteworthy conflicting/weakening signal: this is reported solely by VulDB with the vendor (Tencent) having 'not responded yet,' meaning affected-version boundaries and impact severity are not vendor-confirmed. Net assessment: a legitimate but low-priority library bug - real because a POC exists and it is network-reachable, but de-prioritized by the required user/application interaction, the uniformly Low impact, the absence of KEV/EPSS corroboration, and its dependency on how downstream applications invoke the vulnerable conversion routine.

Exploit ScenarioDerived

An attacker crafts a malicious YUV420SP image with dimensions or stride values engineered to overflow an integer during size computation in ncnn::yuv420sp2rgb, then delivers it to an application (e.g., a mobile or server-side ML pipeline) that uses ncnn to convert camera/image input to RGB. When the victim application processes the image, the integer overflow produces an undersized allocation and subsequent out-of-bounds write, leading to a crash or limited heap corruption. A public proof-of-concept is already available via the Tencent/ncnn GitHub issue (#7035).

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

Integer overflow in Tencent ncnn's YUV420SP-to-RGB conversion API (ncnn::yuv420sp2rgb in src/mat_pixel.cpp) lets unauthenticated remote attackers who can get a target application to process crafted YUV image dimensions or strides trigger an undersized buffer allocation and subsequent out-of-bounds writes. The flaw affects ncnn builds up to commit 44b02dabdcf97499281a4692ebd65bad73dcf8b6 and requires the application to process attacker-controlled YUV420SP data (UI:P); realistic outcomes are denial of service or bounded heap corruption with Low confidentiality, integrity, and availability impact rather than reliable remote code execution. Publicly available exploit code exists, and the vendor has not responded to the upstream issue report.

RemediationAI

No vendor-released patch was identified at time of analysis. Until an upstream fix is available via https://github.com/Tencent/ncnn/issues/7035 or the ncnn repository, validate caller-supplied width, height, and stride before invoking ncnn::yuv420sp2rgb, rejecting values where size calculations such as width*height or stride*height can overflow; this may reject some malformed or unusual frames. Avoid converting YUV420SP data from untrusted sources, or pre-validate frame geometry in the application layer, at the cost of reduced functionality for external media. Run ncnn conversions in a sandboxed or low-privilege worker process to contain heap corruption and denial-of-service effects, accepting added complexity and performance overhead. Monitor the upstream issue and repository for a fix commit or release and apply it when published; the VulDB entry is https://vuldb.com/vuln/421753.

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

ncnn is Tencent's lightweight neural-network inference framework; src/mat_pixel.cpp implements pixel-format conversion helpers used when feeding camera or video frames into models. In ncnn::yuv420sp2rgb, buffer sizes for the converted RGB output are derived from caller-supplied width, height, and stride values; integer overflow in those calculations (CWE-190) can cause a smaller-than-expected allocation followed by writes beyond the heap buffer. The CPE entry cpe:2.3:a:tencent:ncnn:*:*:*:*:*:*:*:* tracks the issue across ncnn versions up to commit 44b02dabdcf97499281a4692ebd65bad73dcf8b6. Exploitation requires the application to expose the Conversion API to untrusted YUV420SP input.

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 6.3 MEDIUM

Crafted image is network-deliverable (AV:N) and needs no privileges (PR:N) but the victim app must process it (UI:R); an integer overflow yields bounded heap corruption, so C/I/A are each Low.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/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:30 cve.org
MEDIUM 5.3

DescriptionCVE.org

A security flaw has been discovered in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dcf8b6. Affected by this issue is the function ncnn::yuv420sp2rgb of the file src/mat_pixel.cpp of the component Conversion API. The manipulation results in integer overflow. The attack can be launched remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

Prevalence
Medium
popular mobile/embedded neural-network inference library, specialized ML footprint
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
Low

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.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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