CVE-2019-5064

HIGH

OpenCV <4.2.0 - Buffer Overflow

Title source: llm
STIX 2.1

Description

An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV, before version 4.2.0. A specially crafted JSON file can cause a buffer overflow, resulting in multiple heap corruptions and potentially code execution. An attacker can provide a specially crafted file to trigger this vulnerability.

References (4)

Core 4
Core References
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpuApr2021.html
Exploit, Third Party Advisory x_refsource_misc
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853
Third Party Advisory x_refsource_misc
https://github.com/opencv/opencv/issues/15857
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com//security-alerts/cpujul2021.html

Scores

CVSS v3 8.8
EPSS 0.0264
EPSS Percentile 85.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-120 CWE-787
Status published
Products (8)
opencv/opencv 4.0.0 - 4.2.0
oracle/application_testing_suite 13.3.0.1
oracle/big_data_spatial_and_graph < 2.0
oracle/enterprise_manager_base_platform 13.4.0.0
pypi/opencv-contrib-python 0 - 4.2.0.32PyPI
pypi/opencv-contrib-python-headless 0 - 4.2.0.32PyPI
pypi/opencv-python 0 - 4.2.0.32PyPI
pypi/opencv-python-headless 0 - 4.2.0.32PyPI
Published Jan 03, 2020
Tracked Since Feb 18, 2026