CVE-2019-14492:
Out-of-bounds Read and Out-of-bounds Write in OpenCV
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.67017%
CWE
Published
10/12/2021
Updated
2/1/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/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.4.6.27 | 3.4.7.28 |
opencv-python | pip | >= 4.0.0.21, <= 4.1.0.25 | 4.1.1.26 |
opencv-python-headless | pip | <= 3.4.6.27 | 3.4.7.28 |
opencv-python-headless | pip | >= 4.0.0.21, <= 4.1.0.25 | 4.1.1.26 |
opencv-contrib-python | pip | <= 3.4.6.27 | 3.4.7.28 |
opencv-contrib-python | pip | >= 4.0.0.21, <= 4.1.0.25 | 4.1.1.26 |
opencv-contrib-python-headless | pip | <= 3.4.6.27 | 3.4.7.28 |
opencv-contrib-python-headless | pip | >= 4.0.0.21, <= 4.1.0.25 | 4.1.1.26 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- The CVE description explicitly names HaarEvaluator::OptFeature::calc as the vulnerable function.
- The GitHub issue #15124 provides a code snippet showing the function implementation with CALC_SUM_OFS macro usage and a crash trace.
- The OpenSUSE security announcement directly references this function in CVE-2019-14492 context.
- All sources consistently point to cascadedetect.hpp as the vulnerable file location.
- The combination of OOB read/write CWEs aligns with the macro-based pointer arithmetic shown in the code snippet.