{"id":"JLSEC-2026-2335","summary":"OpenCV 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0 contains an out-of-bounds read vulnerability...","details":"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.","modified":"2026-12-03T16:13:56.520165326Z","published":"2026-12-03T15:48:49.116Z","upstream":["CVE-2026-137083","EUVD-2026-135763","GHSA-qc46-3cj7-2qc9"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2026-137083","imported":"2026-12-03T08:02:39.527Z","modified":"2026-11-30T22:17:27.520Z","published":"2026-11-25T20:18:45.100Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-137083","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137083","database_specific":{"status":"Received"}},{"published":"2026-11-25T21:30:39Z","url":"https://api.github.com/advisories/GHSA-qc46-3cj7-2qc9","html_url":"https://github.com/advisories/GHSA-qc46-3cj7-2qc9","id":"GHSA-qc46-3cj7-2qc9","imported":"2026-12-03T08:02:49.649Z","modified":"2026-11-25T21:30:40Z"},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-135763","affected":{"OpenCV:opencv":["3.0.0 ≤4.14.0","5.0.0 ≤5.1.0"]},"id":"EUVD-2026-135763","imported":"2026-12-03T08:02:36.444Z","modified":"2026-11-30T21:07:05Z","published":"2026-11-25T19:32:51Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-135763"}]},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-qc46-3cj7-2qc9"},{"type":"WEB","url":"https://github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp#L1140"},{"type":"WEB","url":"https://github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp#L1308"},{"type":"WEB","url":"https://github.com/opencv/opencv/commit/a85f8a0de94a0fbdb7d7fef51cb5132299cf35d1"},{"type":"WEB","url":"https://github.com/opencv/opencv/pull/29859"},{"type":"WEB","url":"https://github.com/opencv/opencv/pull/31094"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137083"},{"type":"WEB","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"}],"affected":[{"package":{"name":"OpenCV_CUDA_jll","ecosystem":"Julia","purl":"pkg:julia/OpenCV_CUDA_jll?uuid=af62fff1-f688-5658-924c-c1100684873a"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2335.json"}},{"package":{"name":"OpenCV_jll","ecosystem":"Julia","purl":"pkg:julia/OpenCV_jll?uuid=33b9d88c-85f9-5d73-bd91-4e2b95a9aa0b"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2335.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","source":"CNA"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}