🛡️ CVE-2019-5063 — opencv-contrib-python
Description
Out-of-bounds Write in OpenCV
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2019-5063 is classified as CWE-787: Out-of-bounds Write. Data is written past the end or before the start of a buffer, corrupting whatever is stored there.
Affected software
CVE-2019-5063 is recorded against 4 packages.
- opencv-contrib-python
- opencv-contrib-python-headless
- opencv-python
- opencv-python-headless
Timeline and source
Published on 12 October 2021 and last revised on 13 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
github.com (Web)
talosintelligence.com (Web)
www.oracle.com (Web)
www.oracle.com (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| opencv-contrib-python | — | — |
| opencv-contrib-python-headless | — | — |
| opencv-python | — | — |
| opencv-python-headless | — | — |
References
Similar Threats
- High CVE-2016-1516
- Unknown CVE-2016-1517
- High CVE-2017-1000450
- High CVE-2017-12597
- High CVE-2017-12598
More CVE 2019 advisories
Browse all of CVE 2019 in the advisory index.
Site Security Check
Is opencv-contrib-python part of your stack?
CVE-2019-5063 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.