CVE-2017-12600 Denial of Service in OpenCV

High 7.5 Published Updated

An attacker can cause a denial of service via CPU exhaustion in the OpenCV library by providing specially crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-12600?

CVE-2017-12600 is a high-severity denial of service vulnerability in n/a, published on 7 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OpenCV (Open Source Computer Vision Library) through 3.3 has a denial of service (CPU consumption) issue, as demonstrated by the 11-opencv-dos-cpu-exhaust test case.

Which versions are affected by CVE-2017-12600?

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-2017-12600?

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-2017-12600 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-12600, GHSA-fr58-2xhv-qp3w, PYSEC-2026-2819, PYSEC-2026-709, UBUNTU-CVE-2017-12600.

Is CVE-2017-12600 in your software?

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

Check your SBOMs for free