🛡️ CVE-2019-5063 — opencv-contrib-python

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-787 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

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

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE CWE-787
Public Exploit ✅ No
Source OSV
Published 2021-10-12
Updated 2026-08-12
Modified 2026-07-13
Fix URL N/A

Affected Packages

Software From version Fixed in
opencv-contrib-python
opencv-contrib-python-headless
opencv-python
opencv-python-headless

Similar Threats

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.