Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. opencv-contrib-python
  4. ›
  5. CVE-2017-12604

CVE-2017-12604: Out-of-bounds Write

October 12, 2021 (updated November 18, 2021)

OpenCV (Open Source Computer Vision Library) has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file by using cv::imread.

References

  • github.com/advisories/GHSA-c7gp-2pch-qh2v
  • github.com/opencv/opencv/issues/9309
  • github.com/opencv/opencv/pull/9376
  • github.com/xiaoqx/pocs/blob/master/opencv.md
  • lists.debian.org/debian-lts-announce/2018/07/msg00030.html
  • lists.debian.org/debian-lts-announce/2021/10/msg00028.html
  • nvd.nist.gov/vuln/detail/CVE-2017-12604
  • security.gentoo.org/glsa/201712-02

Code Behaviors & Features

Detect and mitigate CVE-2017-12604 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 3.3.0.9

Fixed versions

  • 3.3.1.11

Solution

Upgrade to version 3.3.1.11 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

pypi/opencv-contrib-python/CVE-2017-12604.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:32 +0000.