CVE-2019-5063 Out-of-bounds Write in OpenCV
A heap buffer overflow in OpenCV allows attackers to execute arbitrary code by providing a specially crafted XML file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-5063?
CVE-2019-5063 is a high-severity memory corruption vulnerability in Oracle Application Testing Suite, published on 3 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2019-5063?
12 open source packages ship an affected version, including opencv-contrib-python, opencv-contrib-python-headless and opencv-python. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
opencv-contrib-python PyPI | All versions to 4.1.0.25 | None |
opencv-contrib-python PyPI | All versions to 4.1.0.25 | None |
opencv-contrib-python PyPI | All versions to 4.1.0.25 | None |
opencv-contrib-python-headless PyPI | All versions to 4.1.0.25 | None |
opencv-contrib-python-headless PyPI | All versions to 4.1.0.25 | None |
opencv-contrib-python-headless PyPI | All versions to 4.1.0.25 | None |
6 more packages
opencv-python PyPI | All versions to 4.1.0.25 | None |
opencv-python PyPI | All versions to 4.1.0.25 | None |
opencv-python PyPI | All versions to 4.1.0.25 | None |
opencv-python-headless PyPI | All versions to 4.1.0.25 | None |
opencv-python-headless PyPI | All versions to 4.1.0.25 | None |
opencv-python-headless PyPI | All versions to 4.1.0.25 | None |
Products include Opencv Opencv, Oracle Application Testing Suite, Oracle Big Data Spatial and Graph, Oracle Enterprise Manager Base Platform.
How do I fix CVE-2019-5063?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-5063 being exploited?
There is no known exploitation of CVE-2019-5063 in the wild and no public exploit code.
Other vulnerabilities in Oracle Application Testing Suite
Sources
Also known as DEBIAN-CVE-2019-5063, GHSA-m6vm-8g8v-xfjh, PYSEC-2026-2801, PYSEC-2026-2826, PYSEC-2026-2840, PYSEC-2026-724.