CVE-2019-5063
HIGH8.8EPSS 5.5%Out-of-bounds Write in OpenCV
Published: 10/12/2021Modified: 4/28/2026
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.
Affected packages (5)
- Debian/opencvfrom 0, < 4.2.0+dfsg-3
- PyPI/opencv-contrib-pythonfrom 0, <= 4.1.0.25
- PyPI/opencv-contrib-python-headlessfrom 0, <= 4.1.0.25
- PyPI/opencv-pythonfrom 0, <= 4.1.0.25
- PyPI/opencv-python-headlessfrom 0, <= 4.1.0.25
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-5063
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-5063
- PATCHhttps://github.com/opencv/opencv-python
- WEBhttps://github.com/opencv/opencv/issues/16951
- WEBhttps://github.com/opencv/opencv-python/releases/tag/25
- WEBhttps://talosintelligence.com/vulnerability_reports/TALOS-2019-0852
- WEBhttps://www.oracle.com/security-alerts/cpuApr2021.html
- WEBhttps://www.oracle.com//security-alerts/cpujul2021.html