# CVE-2017-12599

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2017-08-07 · Modified: 2024-08-05
- Aliases: GHSA-fvq6-392h-6mjj, PYSEC-2026-2820, PYSEC-2026-710, UBUNTU-CVE-2017-12599, DEBIAN-CVE-2017-12599
- Record: https://cvemate.com/vulnerability/CVE-2017-12599 · JSON: https://cvemate.com/vulnerability/CVE-2017-12599/json

## Description

```text
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds read error in the function icvCvt_BGRA2BGR_8u_C4C3R when reading an image file by using cv::imread.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.986%, percentile 81.296%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian opencv (Debian): \< 3.2.0+dfsg-6
- ubuntu opencv (Ubuntu): \< 2.4.9.1+dfsg-1.5ubuntu1.1 \| \< 3.2.0+dfsg-4ubuntu0.1
- debian debian\_linux: 8.0 \| 9.0
- opencv opencv: ≤ 3.3.0
- PyPI opencv-contrib-python (PyPI): \< 3.3.1.11
- PyPI opencv-python (PyPI): \< 3.3.1.11

## References

- <https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html>
- <https://security.gentoo.org/glsa/201712-02>
- <https://github.com/xiaoqx/pocs/blob/master/opencv.md>
- <https://github.com/opencv/opencv/issues/9309>
- <https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2017-12599>
- <https://github.com/opencv/opencv/pull/9376>
- <https://github.com/opencv/opencv-python>
- <https://github.com/opencv/opencv-python/releases/tag/11>
- <https://github.com/opencv/opencv-python/releases/tag/9>
- <https://pypi.org/project/opencv-python>
- <https://github.com/advisories/GHSA-fvq6-392h-6mjj>
- <https://pypi.org/project/opencv-contrib-python>
- <https://ubuntu.com/security/CVE-2017-12599>
- <https://www.cve.org/CVERecord?id=CVE-2017-12599>
- <https://security-tracker.debian.org/tracker/CVE-2017-12599>

---

Data as of 2026-12-05T07:58:07.495Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
