VDB
Sign up
MEDIUM5.3

PYSEC-2026-2842

Out-of-bounds Read in OpenCV

Quick fix

PYSEC-2026-2842 — opencv-python-headless: upgrade to the fixed version with the command below.

pip install --upgrade 'opencv-python-headless>=4.1.2.30'

Details

OpenCV 4.1.1 has an out-of-bounds read in hal_baseline::v_load in core/hal/intrin_sse.hpp when called from computeSSDMeanNorm in modules/video/src/dis_flow.cpp.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/opencv-python-headless
Introduced in: 0Fixed in: 4.1.2.30
Fixpip install --upgrade 'opencv-python-headless>=4.1.2.30'

References