CVE-2026-112074
Received Received - Intake

Integer Overflow in Tencent ncnn Conversion API

Vulnerability report for CVE-2026-112074, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-19

Last updated on: 2026-10-19

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-19
Last Modified
2026-10-19
Generated
2026-10-19
AI Q&A
2026-10-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Tencent ncnn 44b02dabdcf97499281a4692ebd65bad73dcf8b6

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-189
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an integer overflow in Tencent ncnn's yuv420sp2rgb function within mat_pixel.cpp. When width and height parameters are large, their product exceeds 32-bit integer limits, causing overflow. This leads to negative offsets, resulting in out-of-bounds memory access. The flaw stems from missing buffer size validation in the function.

Detection Guidance

To detect this vulnerability, inspect applications using Tencent ncnn library versions up to 44b02dabdcf97499281a4692ebd65bad73dcf8b6 for the affected function yuv420sp2rgb in mat_pixel.cpp. Check for integer overflow in offset calculations where vuptr = yuv420sp + w * h. Monitor for crashes or memory corruption when processing large width and height parameters.

Impact Analysis

The vulnerability can cause deterministic crashes (denial of service) when processing untrusted input dimensions. It may also lead to information leaks through out-of-bounds reads if the offset falls within mapped memory regions. Silent memory corruption is possible via out-of-bounds writes. Remote code execution is not feasible with this vulnerability.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by enabling out-of-bounds memory access, which may lead to unauthorized data exposure or corruption. If exploited, it could cause information leaks through out-of-bounds reads or memory corruption via out-of-bounds writes, violating data integrity and confidentiality requirements under these regulations.

Mitigation Strategies

Immediately update Tencent ncnn to the latest version if available. If not, disable or restrict applications using the vulnerable function yuv420sp2rgb. Implement input validation to ensure width and height parameters do not cause integer overflow. Monitor for unusual memory access patterns or crashes in affected applications.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-112074. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart