8.8high

CVE-2017-12604

Out-of-bounds Write in OpenCV

Also known as GHSA-c7gp-2pch-qh2v, PYSEC-2026-2815, PYSEC-2026-706

Published 9 y ago · modified 58 d ago · JSON

CVSS
8.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.0%
percentile 81%
Public exploits
0
none known

Summary

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

Exploit prediction (EPSS)

1.99% probability of exploitation in the next 30 days, higher than 81% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.18.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub3.08.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV3.08.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV3.08.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
pypiopencv-python
<3.3.1.11
3.3.1.11
pypiopencv-contrib-python
<3.3.1.11
3.3.1.11

Classification

Weakness

References

  • lists.debian.org /debian-lts-announce/2018/07/msg00030.html · mailing-list, x_refsource_MLIST, x_transferred
  • security.gentoo.org /glsa/201712-02 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • github.com /xiaoqx/pocs/blob/master/opencv.md · x_refsource_MISC, x_transferred
  • github.com /opencv/opencv/issues/9309 · x_refsource_MISC, x_transferred
  • lists.debian.org /debian-lts-announce/2021/10/msg00028.html · mailing-list, x_refsource_MLIST, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-12604 · advisory
  • github.com /opencv/opencv/pull/9376 · web
  • github.com /opencv/opencv-python · package
  • pypi.org /project/opencv-contrib-python · package
  • github.com /advisories/GHSA-c7gp-2pch-qh2v · advisory
  • pypi.org /project/opencv-python · package

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.