CVE-2019-5063: opencv Classic Buffer Overflow
Vulnerability summary
CVE-2019-5063 is a high (CVSS 8.8) Classic Buffer Overflow vulnerability in opencv. EPSS estimates a 21.11% chance of exploitation in the next 30 days, higher than 97.5% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 03-01-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 5 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
21.11%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
0.00 pp
From 21.11% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (talosintelligence.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
PyPI4 products
- opencv-contrib-python≤ 4.1.0.25
- opencv-contrib-python-headless≤ 4.1.0.25
- opencv-python≤ 4.1.0.25
- opencv-python-headless≤ 4.1.0.25
Oracle3 products
- application_testing_suite13.3.0.1
- big_data_spatial_and_graph< 2.0
- enterprise_manager_base_platform13.4.0.0
Debian1 product
- opencv< 4.2.0+dfsg-3
Opencv1 product
- opencv4.1.0
Ubuntu1 product
- opencvAll versions (No fix recorded)
5 vendors · 10 products
References
16 links- talosintelligence.com/vulnerability_reports/TALOS-2019-0852X Refsource MISCWEBREPORTExploitThird Party Advisory