CVE Database›Document archive›CVE-2019-5063

CVE-2019-5063

opencv: Heap buffer overflow in persistence_xml.cpp while parsing crafted XML file

Loading…

Severity

Moderate

Red Hat Product Security

8.8

CVSS 3.1

Review impact separately from score.

Published · January 2, 2020

Updated · June 27, 2026

Description

A heap buffer overflow vulnerability was found in the data structure persistence functionality of OpenCV. Specifically, a specially crafted XML file could cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. A remote attacker could exploit this flaw by providing a specially crafted XML file to trigger this vulnerability.

Statement

This flaw did not affect the versions of OpenCV as shipped with Red Hat Enterprise Linux 6, 7, and 8, as they did not include the vulnerable code, which was introduced in a later version of the library.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CWE-122 · Heap-based Buffer Overflow