CVE-2019-5063
Publication date 3 January 2020
Last updated 1 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| opencv | 22.04 LTS jammy |
Not affected
|
| 20.04 LTS focal |
Not affected
|
|
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial |
Not affected
|
|
| 14.04 LTS trusty |
Not affected
|
Notes
ccdm94
in bionic and earlier, functions fixed by commit are in file modules/core/src/persistence.cpp instead of the ones presented in the upstream patch. However, upstream reports that versions 3.4.8 and older are not affected, due to code refactoring. See: https://github.com/opencv/ opencv/issues/15857.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |