OpenCV 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0 contains an out-of-bounds read vulnerability in the built-in MJPEG encoder when writing grayscale frames due to incorrect level shifting in convertToYUV(). Attackers controlling pixel content written as grayscale MJPEG video can trigger unchecked cat_table and huff_dc_tab lookups, leaking adjacent or uninitialized memory into the output file or crashing the process.
History

Sat, 28 Nov 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 25 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
Description OpenCV 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0 contains an out-of-bounds read vulnerability in the built-in MJPEG encoder when writing grayscale frames due to incorrect level shifting in convertToYUV(). Attackers controlling pixel content written as grayscale MJPEG video can trigger unchecked cat_table and huff_dc_tab lookups, leaking adjacent or uninitialized memory into the output file or crashing the process.
Title OpenCV 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0 MJPEG Encoder Out-of-Bounds Read
First Time appeared Opencv
Opencv opencv
Weaknesses CWE-125
CPEs cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*
Vendors & Products Opencv
Opencv opencv
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 5.8, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-25T19:32:51.280Z

Updated: 2026-11-25T19:32:51.280Z

Reserved: 2026-11-25T17:56:26.506Z

Link: CVE-2026-137083

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-25T20:18:45.100

Modified: 2026-11-25T20:18:45.100

Link: CVE-2026-137083

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-25T19:32:51Z

Links: CVE-2026-137083 - Bugzilla