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

Published Updated

Attackers controlling pixel content written as grayscale MJPEG video can leak memory or crash OpenCV's encoder; apps using OpenCV MJPEG should care.

CVSS score

Medium

5.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-137083?

CVE-2026-137083 is a medium-severity memory corruption vulnerability in OpenCV, published on 25 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-125

How severe is CVE-2026-137083?

CVE-2026-137083 scores 5.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
Low
Integrity
None
Availability
High

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

Which versions are affected by CVE-2026-137083?

2 open source packages ship an affected version, including opencv/opencv.

An affected version is only exploitable if your software calls convertToYUV(). Many projects that include it are not exposed.

PackageAffectedFixed in
opencv/opencv GitHub
pkg:github/opencv/opencv
From 3.0.0 to 4.14.0None
opencv/opencv GitHub
pkg:github/opencv/opencv
From 5.0.0 to 5.1.0None

How do I fix CVE-2026-137083?

No fix has been published for CVE-2026-137083 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-137083 being exploited?

There is no known exploitation of CVE-2026-137083 in the wild and no public exploit code.

Sources

Also known as GHSA-qc46-3cj7-2qc9, UBUNTU-CVE-2026-137083.

Is CVE-2026-137083 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free