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.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
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
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-25T19:32:51.280Z
Reserved: 2026-11-25T17:56:26.506Z
Link: CVE-2026-137083
No data.
Status : Received
Published: 2026-11-25T20:18:45.100
Modified: 2026-11-25T20:18:45.100
Link: CVE-2026-137083
No data.
OpenCVE Enrichment
No data.
Weaknesses