Vulnerability record · CVE-2019-5064 · published 3 January 2020
CVE-2019-5064: Opencv classic buffer overflow vulnerability
Opencv · Opencv
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.
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:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/opencv/opencv/issues/15857 | Third Party Advisory |
| https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853 | ExploitThird Party Advisory |
| https://www.oracle.com//security-alerts/cpujul2021.html | PatchThird Party Advisory |
| https://www.oracle.com/security-alerts/cpuApr2021.html | PatchThird Party Advisory |
| https://github.com/opencv/opencv/issues/15857 | Third Party Advisory |
| https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853 | ExploitThird Party Advisory |
| https://www.oracle.com//security-alerts/cpujul2021.html | PatchThird Party Advisory |
| https://www.oracle.com/security-alerts/cpuApr2021.html | PatchThird Party Advisory |
Track CVE-2019-5064 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-5064), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.