VDB
KO
MEDIUM 6.5

PYSEC-2026-711

Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV

Details

OpenCV 3.3.1 (corresponding with opencv-python and opencv-contrib-python 3.3.1.11) has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / opencv-contrib-python
Introduced in: 0 Fixed in: 3.4.0.12
Fix pip install --upgrade 'opencv-contrib-python>=3.4.0.12'

References