CVE-2017-12863: Integer Overflow or Wraparound in OpenCV
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73798%
CWE
Published
10/12/2021
Updated
2/1/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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 CVE description explicitly names PxMDecoder::readData as the vulnerable function. The GitHub issue (#9371) and ASAN crash log confirm integer overflows in src_pitch calculations at grfmt_pxm.cpp lines 199-201. The vulnerability stems from unsafe multiplication of width/bpp values without overflow checks, leading to memory corruption. Multiple authoritative sources (NVD, GitHub Advisory, Debian/gentoo security notices) corroborate this assessment.