PT-2019-5800

CVE-2019-5064

·

Published

2019-11-06

·

Updated

2026-07-09

Description by

CVSS 2.0
9.3
High
MetricsAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions OpenCV versions prior to 4.2.0
Description A heap buffer overflow issue exists in the data structure persistence functionality of OpenCV. This can be triggered by a specially crafted JSON file, causing a buffer overflow and resulting in multiple heap corruptions, potentially leading to code execution. An attacker can exploit this by providing a specially crafted file.
Recommendations For versions prior to 4.2.0, update to version 4.2.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of specially crafted JSON files to minimize the risk of exploitation. Avoid using the data structure persistence functionality with untrusted input until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-Q799-Q27X-VP7W
PYSEC-2026-2802
PYSEC-2026-2828
PYSEC-2026-2841
PYSEC-2026-725
Found an issue in the description? Have something to add? Feel free to write us 👾