MEDIUM5.3
PYSEC-2026-726
Out-of-bounds Read in OpenCV
Quick fix
PYSEC-2026-726 — opencv-contrib-python-headless: upgrade to the fixed version with the command below.
pip install --upgrade 'opencv-contrib-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-contrib-python-headless
Introduced in:
0Fixed in: 4.1.2.30Fix
pip install --upgrade 'opencv-contrib-python-headless>=4.1.2.30'References
- https://nvd.nist.gov/vuln/detail/CVE-2019-16249[ADVISORY]
- https://github.com/opencv/opencv/issues/15481[WEB]
- https://github.com/opencv/opencv/pull/15531[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1752702[WEB]
- https://github.com/opencv/opencv-python[PACKAGE]
- https://github.com/opencv/opencv-python/releases/tag/30[WEB]
- https://pypi.org/project/opencv-contrib-python-headless[PACKAGE]
- https://github.com/advisories/GHSA-x3rm-644h-67m8[ADVISORY]