# CVE-2019-5064

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2020-01-03 · Modified: 2024-08-04
- Aliases: GHSA-q799-q27x-vp7w, PYSEC-2026-2802, PYSEC-2026-2828, PYSEC-2026-2841, PYSEC-2026-725, UBUNTU-CVE-2019-5064, DEBIAN-CVE-2019-5064
- Record: https://cvemate.com/vulnerability/CVE-2019-5064 · JSON: https://cvemate.com/vulnerability/CVE-2019-5064/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 10.751%, percentile 95.955%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian opencv (Debian): \< 4.2.0+dfsg-3
- ubuntu opencv (Ubuntu): \< 4.2.0+dfsg-5 \| \< 4.5.4+dfsg-9ubuntu4
- 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 (PyPI): \< 4.2.0.32
- PyPI opencv-contrib-python-headless (PyPI): \< 4.2.0.32
- PyPI opencv-python (PyPI): \< 4.2.0.32
- PyPI opencv-python-headless (PyPI): \< 4.2.0.32

## References

- <https://www.oracle.com/security-alerts/cpuApr2021.html>
- <https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853>
- <https://github.com/opencv/opencv/issues/15857>
- <https://www.oracle.com//security-alerts/cpujul2021.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-5064>
- <https://github.com/opencv/opencv-python>
- <https://github.com/opencv/opencv-python/releases/tag/32>
- <https://github.com/opencv/opencv/releases/tag/4.2.0>
- <https://pypi.org/project/opencv-contrib-python>
- <https://github.com/advisories/GHSA-q799-q27x-vp7w>
- <https://pypi.org/project/opencv-python>
- <https://pypi.org/project/opencv-python-headless>
- <https://pypi.org/project/opencv-contrib-python-headless>
- <https://ubuntu.com/security/CVE-2019-5064>
- <https://www.cve.org/CVERecord?id=CVE-2019-5064>
- <https://security-tracker.debian.org/tracker/CVE-2019-5064>

---

Data as of 2026-12-05T06:26:18.043Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
