{"schemaVersion":4,"id":"CVE-2026-137083","aliases":["UBUNTU-CVE-2026-137083","DEBIAN-CVE-2026-137083","CGA-2qrm-j7gj-fmjq","CGA-6f68-8xjp-2p2j","CGA-42wm-f32p-8qgv","CGA-3g7q-44ff-68fj"],"status":"published","duplicateOf":null,"title":"OpenCV 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0 MJPEG Encoder Out-of-Bounds Read","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.","dates":{"published":"2026-11-25T19:32:51.280Z","modified":"2026-11-30T21:07:05.593Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.8,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.8,"severity":"medium","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/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":2.6,"impact":7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":5.8,"severity":"medium","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/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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":5.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00214,"percentile":0.12468,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-26T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00214,"percentile":0.12468}],"last30":[{"date":"2026-11-26T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00214,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00214,"percentile":0.12468}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"chainguard","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opencv","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"opencv-dev","name":"opencv-dev","label":"opencv-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opencv-dev","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"opencv-libs","name":"opencv-libs","label":"opencv-libs","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opencv-libs","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/opencv","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/opencv","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/opencv","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opencv","product":"opencv","name":"OpenCV","label":"opencv","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, ≤ 4.14.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"4.14.0","endInclusive":true}},{"text":"≥ 5.0.0, ≤ 5.1.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.1.0","endInclusive":true}}],"versionsText":"≥ 3.0.0, ≤ 4.14.0 | ≥ 5.0.0, ≤ 5.1.0","eol":null,"hubHref":"/vendor/opencv/opencv"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/opencv/opencv/pull/31094","label":"github.com/opencv/opencv/pull/31094","hostname":"github.com","tags":["Issue Tracking","Patch","FIX"]},{"url":"https://github.com/opencv/opencv/commit/a85f8a0de94a0fbdb7d7fef51cb5132299cf35d1","label":"github.com/opencv/opencv/commit/a85f8a0de94a0fbdb7d7fef51cb5132299cf35d1","hostname":"github.com","tags":["Patch","FIX"]},{"url":"https://github.com/opencv/opencv/pull/29859","label":"github.com/opencv/opencv/pull/29859","hostname":"github.com","tags":["Issue Tracking","Patch","FIX"]},{"url":"https://github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp#L1140","label":"github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp","hostname":"github.com","tags":["Technical Description","ARTICLE"]},{"url":"https://github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp#L1308","label":"github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp","hostname":"github.com","tags":["Technical Description","ARTICLE"]},{"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","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory","Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-137083","label":"ubuntu.com/security/CVE-2026-137083","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-137083","label":"www.cve.org/CVERecord?id=CVE-2026-137083","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-137083","label":"security-tracker.debian.org/tracker/CVE-2026-137083","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137083.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137083.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137083","label":"nvd.nist.gov/vuln/detail/CVE-2026-137083","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/opencv/opencv","label":"github.com/opencv/opencv","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-25T19:32:51.280Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-30T21:07:05.593Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.8, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,58],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00214,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-30T21:07:05.593Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-30T21:07:05.593Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-30T21:07:05.593Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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/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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-30T21:07:05.593Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-30T21:07:05.593Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-30T21:07:05.593Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-30T21:07:05.593Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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/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","version":"4.0"},{"type":"cvss","source":"osv_chainguard","date":"2026-11-30T21:07:05.593Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-11-30T21:06:52.095Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00214,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:40:40.644Z","stale":false,"partial":false}}