Bug 2584458 (CVE-2026-137083)

Summary: CVE-2026-137083 opencv: opencv: Denial of Service via out-of-bounds read in MJPEG encoder
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in opencv. The built-in Motion JPEG (MJPEG) encoder improperly performs level shifting during color conversion when encoding grayscale video frames. An attacker who can supply crafted pixel data can trigger an out-of-bounds read, leading to an application crash resulting in a Denial of Service (DoS) or leaking adjacent memory into the output file.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2585527, 2585528, 2585529    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-25 19:42:22 UTC
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.