CVE-2019-5063

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

Published Jan 3, 2020 CVSS 3.1 · 8.8 High EPSS 21.1% KEV · Not listed
Description
An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0. A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2226 An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0. A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability.
Github GHSA Github GHSA GHSA-m6vm-8g8v-xfjh Out-of-bounds Write in OpenCV
History

No history.

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow

  • CWE-787

    Out-of-bounds Write

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