PT-2026-59477 · Pypi · Opencv-Python-Headless

Published

2026-07-09

·

Updated

2026-07-09

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
An out-of-bounds read was discovered in OpenCV before 4.1.1 (OpenCV-Python before 4.1.0.25). Specifically, variable coarsest scale is assumed to be greater than or equal to finest scale within the calc()/ocl calc() functions in dis flow.cpp. However, this is not true when dealing with small images, leading to an out-of-bounds read of the heap-allocated arrays Ux and Uy.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

PYSEC-2026-2839

Affected Products

Opencv-Python-Headless