CVE-2019-5064

opencv: Heap buffer overflow in persistence_json.cpp while parsing crafted JSON file

Published Jan 3, 2020 CVSS 3.1 · 8.8 High EPSS 10.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2245 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.
Github GHSA Github GHSA GHSA-q799-q27x-vp7w Out-of-bounds Write in OpenCV
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
talos
Published
Updated
Aug 4, 2024, 7:47 PM
Reserved
Jan 4, 2019, 12:00 AM
Status
Modified
Published
Jan 3, 2020, 5:15 PM
Modified
Jun 17, 2026, 2:37 AM
Severity
Moderate
Public date
Jan 2, 2020, 12:00 AM