Advisory

PYSEC-2026-711

Also known as: CVE-2017-17760, GHSA-jcxv-2j3h-mg59, PYSEC-2026-2823

Summary

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2026-07-02 14:13 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

opencv-contrib-python

PyPI · All systems

Affected

  • introduced 0, fixed 3.4.0.12 (ecosystem)

Fixed versions

3.4.0.12

Fix

  • Fixed version 3.4.0.12
    pip install --upgrade opencv-contrib-python==3.4.0.12

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences