CVE-2026-137083
OpenCV 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0 MJPEG Encoder Out-of-Bounds Read
- Severity
- medium CVSS 5.8 (v4.0)
- Affects
- OpenCV
- Weakness
- CWE-125: Out-of-bounds Read
- Published
- 25 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.