CVE-2017-12600: Denial of Service in OpenCV
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.56861%
CWE
-
Published
10/12/2021
Updated
1/9/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
opencv-python | pip | <= 3.3.0.9 | 3.3.1.11 |
opencv-contrib-python | pip | <= 3.3.0.9 | 3.3.1.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability was resolved in OpenCV 3.3.1 via PR #9376 which refactored imgcodecs
. The test case name '11-opencv-dos-cpu-exhaust' and issue #9311 both point to PxM image parsing flaws. The grfmt_pxm.cpp
modifications in the PR specifically address: 1) Infinite loop prevention in ReadNumber()
through proper terminator checks, and 2) Added dimension validation in readData()
. These changes correlate directly with the CVE's description of CPU exhaustion via malformed image processing.