---
id: CVE-2016-1517
aliases:
  - GHSA-fffj-9qwg-qmh5
  - PYSEC-2026-2817
  - PYSEC-2026-708
title: Improper Input Validation in OpenCV
summary: Improper Input Validation in OpenCV
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.0/AV:L/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.176908152Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-fffj-9qwg-qmh5'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2016-1517'
  - url: 'https://github.com/opencv/opencv/issues/5956'
  - url: 'https://github.com/opencv/opencv/pull/9376'
  - url: 'https://arxiv.org/pdf/1701.04739.pdf'
  - url: 'https://github.com/opencv/opencv-python'
tags:
  - osv
  - pip
epss: 0.01595
epssPercentile: 0.74231
ingestedAt: '2026-07-08T18:25:48.872Z'
---

## Overview

OpenCV 3.0.0 allows remote attackers to cause a denial of service (segfault) via vectors involving corrupt chunks. This issue was fixed in OpenCV version 3.3.1 (corresponding to OpenCV 3.3.1.11).

## 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`
