High severity · published Jan 3, 2020
CVE-2019-5064
An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV, before version 4.2.0
8.8
CVSS
10.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)10.7% · higher than 96% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AT
Application Testing Suite · Oracle
13.3.0.1 · source: NVD
BD
Big Data Spatial And Graph · Oracle
before 2.0 · source: NVD
EM
Enterprise Manager Base Platform · Oracle
13.4.0.0 · source: NVD
OP
Opencv · Opencv
4.0.0 before 4.2.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-5064
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-5064
Third Party Advisory
https://github.com/opencv/opencv/issues/15857
Exploit
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853
Patch
https://www.oracle.com//security-alerts/cpujul2021.html
Patch
https://www.oracle.com/security-alerts/cpuApr2021.html
More from Opencv
9.8
CVE-2025-53644
OpenCV is an Open Source Computer Vision Library
8.8
CVE-2019-5063
An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0
8.8
CVE-2017-1000450
In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which can lead to integer overflow
8.8
CVE-2017-12864
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the input length, which lead to integer overflow
8.8
CVE-2017-12863
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch
