{"id":"CVE-2026-137083","aliases":["CVE-2026-137083"],"related":[],"kind":"vulnerability","state":"published","title":"OpenCV 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0 MJPEG Encoder Out-of-Bounds Read","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T19:32:51.280Z","modified":"2026-11-30T22:17:27.520Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":5.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0","lastAffected":"4.14.0","status":"affected"},{"type":"semver","introduced":"5.0.0","lastAffected":"5.1.0","status":"affected"}],"vendor":"OpenCV","product":"OpenCV","repo":"https://github.com/opencv/opencv","source":"cvelist"}],"references":[{"url":"https://github.com/opencv/opencv/pull/31094","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencv/opencv/commit/a85f8a0de94a0fbdb7d7fef51cb5132299cf35d1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencv/opencv/pull/29859","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp#L1140","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp#L1308","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/opencv-3.0.0-through-4.14.0-and-5.0.0-through-5.1.0-mjpeg-encoder-out-of-bounds-read","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Savya Sanchi Sharma (SavyaSanchi-Sharma)","Madan mohan Manokar (madanm3)","Pu Cheng"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-30T21:06:52.095Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137083","url":"https://www.cve.org/CVERecord?id=CVE-2026-137083","licence":"CVE Terms of Use","modified":"2026-11-30T21:07:05.593Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137083","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137083","licence":"Public domain","modified":"2026-11-30T22:17:27.520Z"}],"updatedAt":"2026-11-30T22:32:12.612Z","epss":{"score":0.00214,"percentile":0.12501,"date":"2026-12-01T12:00:22.000Z"}}