Back
CVE-2019-5064
An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV, before version 4.2.0.…
High8.8EPSS 10.7%
- Published
- Updated
- Reserved
- Assigned by
- talos
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| talosCNA (assigner) | 3.0 | High8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 10.7% · top 4.2% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
Affected products
OpenCV
- affected OpenCV 4.1.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIopencv-contrib-pythonGHSA-q799-q27x-vp7w (opens in a new tab)
- PyPIopencv-contrib-python-headlessGHSA-q799-q27x-vp7w (opens in a new tab)
- PyPIopencv-pythonGHSA-q799-q27x-vp7w (opens in a new tab)
- PyPIopencv-python-headlessGHSA-q799-q27x-vp7w (opens in a new tab)
References (4)
- https://www.oracle.com/security-alerts/cpuApr2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/opencv/opencv/issues/15857 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com//security-alerts/cpujul2021.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-q799-q27x-vp7w (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-5064)Record last updated .