OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the function FillColorRow4 in utils.cpp when reading an image file by using cv::imread.
CVE-2017-12606
HIGHNVD 8.88.8—
EchelonGraph scoreMEDIUM confidence
This high-severity CVE scores 8.8 under NVD CVSS v3. EPSS exploit probability: 0.8%, top 25% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
Triggered by: NVD CVSS baseline
Sources: epss, nvd
8.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
- High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 2%CVSS: 8.8Exploit: NoneExposed: 0
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EPSS
- 78.1%
- KEV
- Not listed
Published
August 7, 2017
Last Modified
May 13, 2026
References (10)
- cve@mitrehttps://github.com/opencv/opencv/issues/9309
- cve@mitrehttps://github.com/xiaoqx/pocs/blob/master/opencv.md
- cve@mitrehttps://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- cve@mitrehttps://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- cve@mitrehttps://security.gentoo.org/glsa/201712-02
- af854a3a-2127-422b-91ae-364da2661108https://github.com/opencv/opencv/issues/9309
- af854a3a-2127-422b-91ae-364da2661108https://github.com/xiaoqx/pocs/blob/master/opencv.md
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/201712-02
Affected Packages
(2 across 1 ecosystem)
PyPI(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| opencv-contrib-python | 3.1.0.0, 3.2.0.7, 3.2.0.8, 3.3.0.10, 3.3.0.9 | 3.3.1.11 | — |
| opencv-python | 3.1.0 ... 3.3.0.9 (12 versions) | 3.3.1.11 | — |
Frequently asked(5)
What is CVE-2017-12606?
CVE-2017-12606 is a high vulnerability published on August 7, 2017. OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the function FillColorRow4 in utils.cpp when reading an image file by using cv::imread.
When was CVE-2017-12606 disclosed?
CVE-2017-12606 was first published in the National Vulnerability Database on August 7, 2017, with the most recent update on May 13, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2017-12606 actively exploited?
CVE-2017-12606 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 78.1% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2017-12606?
CVE-2017-12606 has a CVSS v3 base score of 8.8 (NVD).
How do I remediate CVE-2017-12606?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2017-12606, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2017-12606
Is Your Infrastructure Affected by CVE-2017-12606?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.