---
id: CVE-2017-14136
aliases:
  - GHSA-634c-v2xv-ffpg
  - PYSEC-2026-2808
  - PYSEC-2026-700
title: Out-of-bounds Write in OpenCV
summary: Out-of-bounds Write in OpenCV
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
vendor: opencv-python
product: opencv-python
ecosystem: pip
affected:
  - opencv-python < 3.3.1.11
  - opencv-contrib-python < 3.3.1.11
patched:
  - opencv-python 3.3.1.11
  - opencv-contrib-python 3.3.1.11
published: '2021-10-12'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:09.069126408Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-634c-v2xv-ffpg'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2017-14136'
  - url: 'https://github.com/opencv/opencv/issues/9443'
  - url: 'https://github.com/opencv/opencv/pull/9448'
  - url: 'https://github.com/opencv/opencv-python'
  - url: 'https://github.com/xiaoqx/pocs/blob/master/opencv.md'
  - url: 'https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html'
  - url: 'https://security.gentoo.org/glsa/201712-02'
tags:
  - osv
  - pip
epss: 0.01904
epssPercentile: 0.78533
ingestedAt: '2026-07-08T18:25:46.270Z'
---

## Overview

OpenCV (Open Source Computer Vision Library) 3.3 (corresponding to OpenCV-Python 3.3.0.9) has an out-of-bounds write error in the function FillColorRow1 in utils.cpp when reading an image file by using cv::imread. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-12597.

## Affected packages

- `opencv-python < 3.3.1.11`
- `opencv-contrib-python < 3.3.1.11`

## Remediation

Upgrade to a patched release:

- `opencv-python 3.3.1.11`
- `opencv-contrib-python 3.3.1.11`
