HighGHSA-m43c-649m-pm48CVE-2017-1000450PYSEC-2026-2825PYSEC-2026-712

Integer Overflow or Wraparound in OpenCV.

Published 12 Oct 2021 · Updated 10 Sept 2026

Is your project on an affected opencv-python?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<3.3.1.11
Fixed in
3.3.1.11
Update to the fixed version for your release line, for example:pip install 'opencv-python>=3.3.1.11'
Affected
<3.3.1.11
Fixed in
3.3.1.11
Update to the fixed version for your release line, for example:pip install 'opencv-contrib-python>=3.3.1.11'

Details

In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which can lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 (corresponding with OpenCV-Python 3.3.0.9) and earlier.

Is GHSA-m43c-649m-pm48 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected opencv-python, and gives you the command that fixes it.

More advisories for opencv-python

All 32 advisories for opencv-python

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.