OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error…
Priority MEDIUM 42CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-787 and the CVSS impact.
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.
Why it matters now
EPSS 0.01986 80th percentileScored 2026-11-07
Fix Partial opencv-python (PyPI): 3.3.1.11opencv-contrib-python (PyPI): 3.3.1.11Red Hat: 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | opencv-python (PyPI) | before 3.3.1.11 | 3.3.1.11 | Patch available | GHSA-c7gp-2pch-qh2v |
| — | opencv-contrib-python (PyPI) | before 3.3.1.11 | 3.3.1.11 | Patch available | GHSA-c7gp-2pch-qh2v |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- opencv-python (PyPI) Vendor— Affected before 3.3.1.11 Fixed in 3.3.1.11 Patch available GHSA-c7gp-2pch-qh2v
- opencv-contrib-python (PyPI) Vendor— Affected before 3.3.1.11 Fixed in 3.3.1.11 Patch available GHSA-c7gp-2pch-qh2v
Remediation
- Fix · GHSA-c7gp-2pch-qh2v opencv-python (PyPI) Fixed in 3.3.1.11 Advisory →
- Fix · GHSA-c7gp-2pch-qh2v opencv-contrib-python (PyPI) Fixed in 3.3.1.11 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-12604
- 2026-10-03 Alias added: GHSA-c7gp-2pch-qh2v
References
Advisory 5
Sources
- CVE-2017-12604 · CVE Program
- CVE-2017-12604 · NVD
- FIRST EPSS
- GHSA-c7gp-2pch-qh2v · GitHub Advisory Database · CC BY 4.0
- CVE-2017-12604 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences