GitHub Advisoryadvisory · PyPI

GHSA-m6vm-8g8v-xfjh Out-of-bounds Write in OpenCV

HIGH Published 2021-10-12 Modified 2022-04-20 Official page ↗
Aliases
CVE-2019-5063
Ecosystem
PyPI
Packages
opencv-python, opencv-python-headless, opencv-contrib-python, opencv-contrib-python-headless
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-787
Reviewed
2021-10-06

Affected packages

• PyPI opencv-python: <= 4.1.0.25 (no fix yet) • PyPI opencv-python-headless: <= 4.1.0.25 (no fix yet) • PyPI opencv-contrib-python: <= 4.1.0.25 (no fix yet) • PyPI opencv-contrib-python-headless: <= 4.1.0.25 (no fix yet)

Description

An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0 (corresponds with OpenCV-Python 4.1.0.25). 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.

Related

Alias · CVE (1)

  • CVE-2019-5063 An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0. vulnerability

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References