What’s Vulnerable › Vulnerabilities
CVE-2019-5064
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 10.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-01-03 · updated 2026-06-17
- Weakness: CWE-120
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.
Affected products
- OpenCV 3.0.0: from 4.0.0 before 4.2.0 — fixed in 4.2.0
- Oracle Corporation Oracle Application Testing Suite: 13.3.0.1
- Oracle Big Data Spatial And Graph: before 2.0 — fixed in 2.0
- Oracle Corporation Enterprise Manager Base Platform: 13.4.0.0
How to fix
Upgrade to a fixed version: OpenCV 3.0.0 4.2.0; Oracle Big Data Spatial And Graph 2.0. Check the vendor advisory for mitigations.
References
- https://github.com/opencv/opencv/issues/15857
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://github.com/opencv/opencv/issues/15857
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
Get alerted when CVE-2019-5064 or the next vulnerability affects your stack