CVEfocus › CVE database › CVE-2019-5063

CVE-2019-5063

CVSS 8.8 HighEPSS 21.1% (higher than 98% of CVEs)Published 2020-01-03Updated 2024-08-04Assigner: talos

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.

CWE-120

What to do

Likely to be exploited: EPSS gives a 21% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian: see the table below for the fixed version per release.

PyPI, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
5Fix pending
16Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04opencvNot affected
vulnerable_code_not_present
Ubuntu 16.04opencvFix pending
Debian 14opencvFixed4.2.0+dfsg-3DEBIAN-CVE-2019-5063
Debian 13opencvFixed4.2.0+dfsg-3DEBIAN-CVE-2019-5063
Debian 12opencvFixed4.2.0+dfsg-3DEBIAN-CVE-2019-5063
Red Hat Enterprise Linux 8opencvNot affected
Red Hat Enterprise Linux 8opencv-contribNot affected
Red Hat Enterprise Linux 8opencv-coreNot affected
Red Hat Enterprise Linux 8opencv-develNot affected
Red Hat Enterprise Linux 8opencv-docNot affected
Red Hat Enterprise Linux 8python3-opencvNot affected
Red Hat Enterprise Linux 7opencvNot affected
Red Hat Enterprise Linux 7opencv-coreNot affected
Red Hat Enterprise Linux 7opencv-develNot affected
Red Hat Enterprise Linux 7opencv-devel-docsNot affected
Red Hat Enterprise Linux 7opencv-pythonNot affected
Red Hat Enterprise Linux 6opencvNot affected
Red Hat Enterprise Linux 6opencv-develNot affected
Red Hat Enterprise Linux 6opencv-devel-docsNot affected
Red Hat Enterprise Linux 6opencv-pythonNot affected
PyPI libraryopencv-contrib-pythonFix pendingGHSA-m6vm-8g8v-xfjh
PyPI libraryopencv-contrib-python-headlessFix pendingGHSA-m6vm-8g8v-xfjh
PyPI libraryopencv-pythonFix pendingGHSA-m6vm-8g8v-xfjh
PyPI libraryopencv-python-headlessFix pendingPYSEC-2026-2840

What the vendor says

As published in the CVE record by talos, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.