CVE-2026-137083: OpenCV · Out-of-bounds Read
Affects OpenCVSource CVE Database V5
Not known to be exploited · CVSS 5.8 Medium.
Data as of 25 Nov 2026, 19:52 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.3 |
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| OpenCVOpenCV | Affected
| Fixed in– |
GitHubOpenCVpkg:github/OpenCVOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid processing untrusted grayscale MJPEG video inputs or apply strict input validation to mitigate exploitation risk.
Description
CVE-2026-137083 is an out-of-bounds read vulnerability in OpenCV's built-in MJPEG encoder affecting versions 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0. The flaw occurs when writing grayscale frames due to incorrect level shifting in the convertToYUV() function. An attacker controlling pixel content can cause unchecked memory lookups, potentially leaking adjacent or uninitialized memory or causing a crash.
References
- github.com/opencv/opencv/pull/31094 (opens in a new tab)
- github.com/opencv/opencv/commit/a85f8a0de94a0fbdb7d7fef51cb5132299cf35d1 (opens in a new tab)
- github.com/opencv/opencv/pull/29859 (opens in a new tab)
- github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp (opens in a new tab)
- github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cpp (opens in a new tab)
- 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 (opens in a new tab)