{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-5063","id":"CVE-2019-5063","title":"Out-of-bounds Write in OpenCV","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.","descriptionLong":"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.","published":"2020-01-03T16:57:31.000Z","updated":"2026-10-31T02:46:04.060796149Z","reserved":"2019-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"talos","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"talos"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"cisco.com"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["OpenCV"],"affectedProducts":[{"vendor":"n/a","product":"OpenCV","defaultStatus":null,"versions":[{"status":"affected","version":"OpenCV 4.1.0"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<=4.1.0.25"],"fixed":[],"advisory":"GHSA-m6vm-8g8v-xfjh"},{"ecosystem":"PyPI","name":"opencv-python-headless","purl":"pkg:pypi/opencv-python-headless","ranges":["<=4.1.0.25"],"fixed":[],"advisory":"GHSA-m6vm-8g8v-xfjh"},{"ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":["<=4.1.0.25"],"fixed":[],"advisory":"GHSA-m6vm-8g8v-xfjh"},{"ecosystem":"PyPI","name":"opencv-contrib-python-headless","purl":"pkg:pypi/opencv-contrib-python-headless","ranges":["<=4.1.0.25"],"fixed":[],"advisory":"GHSA-m6vm-8g8v-xfjh"}],"cwes":["CWE-120","CWE-787"],"aliases":["GHSA-m6vm-8g8v-xfjh","PYSEC-2026-2801","PYSEC-2026-2826","PYSEC-2026-2840","PYSEC-2026-724"],"references":[{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0852","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5063","tags":["advisory"]},{"url":"https://github.com/opencv/opencv/issues/16951","tags":["web"]},{"url":"https://github.com/opencv/opencv-python","tags":["package"]},{"url":"https://github.com/opencv/opencv-python/releases/tag/25","tags":["web"]},{"url":"https://pypi.org/project/opencv-contrib-python","tags":["package"]},{"url":"https://github.com/advisories/GHSA-m6vm-8g8v-xfjh","tags":["advisory"]},{"url":"https://pypi.org/project/opencv-python","tags":["package"]},{"url":"https://pypi.org/project/opencv-python-headless","tags":["package"]},{"url":"https://pypi.org/project/opencv-contrib-python-headless","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.21108,"epssPercentile":0.97628,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-5063","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5063","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-5063","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m6vm-8g8v-xfjh","ok":true,"note":"GHSA-m6vm-8g8v-xfjh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-5063","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 21% with CVSS 8.8"],"attention":null}