CVE-2016-1517 Improper Input Validation in OpenCV

Medium 5.5 Published Updated

Remote attackers can cause a denial of service via segfaults in OpenCV by exploiting corrupt chunks, affecting applications using the library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-1517?

CVE-2016-1517 is a medium-severity denial of service vulnerability in OpenCV 3.0.0, published on 10 Apr 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

OpenCV 3.0.0 allows remote attackers to cause a denial of service (segfault) via vectors involving corrupt chunks.

Weakness: CWE-20

Which versions are affected by CVE-2016-1517?

6 open source packages ship an affected version, including opencv-contrib-python and opencv-python. It affects 1 product.

PackageAffectedFixed in
opencv-contrib-python PyPIAll versions3.3.1.11
opencv-contrib-python PyPIAll versions3.3.1.11
opencv-contrib-python PyPIAll versions3.3.1.11
opencv-python PyPIAll versions3.3.1.11
opencv-python PyPIAll versions3.3.1.11
opencv-python PyPIAll versions3.3.1.11

Products include Opencv Opencv.

How do I fix CVE-2016-1517?

Upgrade opencv-contrib-python to 3.3.1.11 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-1517 being exploited?

There is no known exploitation of CVE-2016-1517 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2016-1517, GHSA-fffj-9qwg-qmh5, PYSEC-2026-2817, PYSEC-2026-708, UBUNTU-CVE-2016-1517.

Is CVE-2016-1517 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free