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
Vulnerability summary
CVE-2026-137083 is a medium (CVSS 5.8) Out-of-bounds Read vulnerability in opencv. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12.4% of scored vulnerabilities.
Not severe (CVSS 5.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-11-2026PublishedVulnerability first disclosed.
- 30-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 5 sources · 2 versions- NVDNIST5.8MediumCVSS: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
- OSV · UbuntuEcosystem advisory · calculated5.8MediumCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated5.8MediumCVSS: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
- OSV · ChainguardEcosystem advisory · calculated5.8MediumCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST5.3MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard3 products
- opencvAll versions (No fix recorded)
- opencv-devAll versions (No fix recorded)
- opencv-libsAll versions (No fix recorded)
Debian1 product
- opencvAll versions (No fix recorded)
Opencv1 product
- opencv≥ 3.0.0, ≤ 4.14.0 | ≥ 5.0.0, ≤ 5.1.0
Ubuntu1 product
- opencvAll versions (No fix recorded)
Wolfi1 product
- opencvAll versions (No fix recorded)
5 vendors · 7 products
References
12 links- github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cppTechnical DescriptionARTICLE
- github.com/opencv/opencv/blob/4.14.0/modules/videoio/src/cap_mjpeg_encoder.cppTechnical DescriptionARTICLE
Show all 12 references
- github.com/opencv/opencvPACKAGE