# CVE-2017-12601: PYSEC-2026-716 - Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV

Source: https://junglewise.ai/threats/cve-2017-12601-improper-restriction-of-operations-within-the-bounds-of-a-memory  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-02  
License: CC BY 4.0 with a link back

CVE-2017-12601 · Severity: low · CVSS 3 · Published 2026-07-02

Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV

Technologies: [opencv-contrib-python (PyPI)](https://junglewise.ai/threats/technologies/opencv-contrib-python), [opencv-python (PyPI)](https://junglewise.ai/threats/technologies/opencv-python). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2017-12601 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2017-12601 being exploited in the wild.

**How severe is CVE-2017-12601?** Low severity, with a CVSS score of 3, published 2 July 2026.

**Which products and versions are affected?** opencv-contrib-python (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.1.11; opencv-python (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.1.11.

**Is there a fix for CVE-2017-12601?** Yes. opencv-contrib-python (PyPI): upgrade to 3.3.1.11 or later; opencv-python (PyPI): upgrade to 3.3.1.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-12601?** Check whether you run opencv-contrib-python (PyPI) or opencv-python (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- opencv-contrib-python (PyPI): upgrade to 3.3.1.11 or later

  ```sh
  pip install "opencv-contrib-python>=3.3.1.11"
  ```

- opencv-python (PyPI): upgrade to 3.3.1.11 or later

  ```sh
  pip install "opencv-python>=3.3.1.11"
  ```


## Affected products

- opencv-contrib-python (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.1.11
- opencv-python (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.1.11

## Identifiers

- CVE-2017-12601
- GHSA-w96g-3p64-63wr
- PYSEC-2026-2831
- PYSEC-2026-716

## Related threats

- [PYSEC-2026-705 - Out-of-bounds Write in OpenCV.](https://junglewise.ai/threats/cve-2018-5268-out-of-bounds-write-in-opencv)
- [PYSEC-2026-725 - Out-of-bounds Write in OpenCV](https://junglewise.ai/threats/cve-2019-5064-out-of-bounds-write-in-opencv)
- [PYSEC-2026-724 - Out-of-bounds Write in OpenCV](https://junglewise.ai/threats/cve-2019-5063-out-of-bounds-write-in-opencv)
- [PYSEC-2026-723 - Out-of-bounds Read in OpenCV](https://junglewise.ai/threats/cve-2019-19624-out-of-bounds-read-in-opencv)
- [PYSEC-2026-719 - Out-of-bounds Write in OpenCV](https://junglewise.ai/threats/cve-2019-9423-out-of-bounds-write-in-opencv)
