ADVISORIES

PyPA Advisory Database

PYSEC-2026-702

Out-of-bounds Read in OpenCV

Details

In OpenCV 3.3.1 (corresponding with OpenCV-Python 3.3.1.11), a heap-based buffer over-read exists in the function cv::HdrDecoder::checkSignature in modules/imgcodecs/src/grfmt_hdr.cpp.

Affected packages

EcosystemPackageAffected versions
PyPIopencv-contrib-python
All versions before 3.4.1.15 (fixed in 3.4.1.15)

References