cve.bz

CVE-2019-5064

8.8 highEPSS 11%

High (8.8). EPSS 11% chance of exploitation in the next 30 days. Fixed in opencv-python 4.2.0.32.

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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
11% chance of exploitation in the next 30 days; higher than 95% of CVEs (scores of 2026-10-31)
CWEs
CWE-787, CWE-120
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q799-q27x-vp7wPyPIopencv-python<4.2.0.324.2.0.32
GHSA-q799-q27x-vp7wPyPIopencv-python-headless<4.2.0.324.2.0.32
GHSA-q799-q27x-vp7wPyPIopencv-contrib-python<4.2.0.324.2.0.32
GHSA-q799-q27x-vp7wPyPIopencv-contrib-python-headless<4.2.0.324.2.0.32
PYSEC-2026-2802PyPIopencv-contrib-python<4.2.0.324.2.0.32
PYSEC-2026-2828PyPIopencv-python<4.2.0.324.2.0.32
PYSEC-2026-2841PyPIopencv-python-headless<4.2.0.324.2.0.32
PYSEC-2026-725PyPIopencv-contrib-python-headless<4.2.0.324.2.0.32

References

Check your stackJSON