{"id":"CVE-2019-5063","aliases":["DEBIAN-CVE-2019-5063","EUVD-2021-2226","GHSA-m6vm-8g8v-xfjh","PYSEC-2026-2801","PYSEC-2026-2826","PYSEC-2026-2840","PYSEC-2026-724","UBUNTU-CVE-2019-5063"],"status":"published","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.","severity":{"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.21108,"percentile":0.97594,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120","CWE-787"],"published":"2020-01-03T16:57:31Z","modified":"2026-10-31T02:46:04Z","fixes":[{"ecosystem":"Debian:12","package":"opencv","fixed_in":["4.2.0+dfsg-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"opencv","fixed_in":["4.2.0+dfsg-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"opencv","fixed_in":["4.2.0+dfsg-3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"opencv-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"opencv-python-headless","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"opencv-contrib-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"opencv-contrib-python-headless","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0+dfsg-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0+dfsg-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0+dfsg-3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"opencv-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}],"versions":["3.4.0.14","3.4.1.15","3.4.10.35","3.4.10.37","3.4.11.39","3.4.11.41","3.4.11.43","3.4.11.45","3.4.13.47","3.4.14.51","3.4.14.53","3.4.15.55","3.4.16.57","3.4.16.59","3.4.17.61","3.4.17.63","3.4.18.65","3.4.2.17","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27","3.4.7.28","3.4.8.29","3.4.9.31","3.4.9.33","4.0.0.21","4.0.1.23","4.0.1.24","4.1.0.25"]},{"source":"osv","ecosystem":"PyPI","package":"opencv-python-headless","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}],"versions":["3.4.10.37","3.4.11.39","3.4.11.41","3.4.11.43","3.4.11.45","3.4.13.47","3.4.14.51","3.4.14.53","3.4.15.55","3.4.16.57","3.4.16.59","3.4.17.61","3.4.17.63","3.4.18.65","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27","3.4.7.28","3.4.8.29","3.4.9.33","4.0.0.21","4.0.1.24","4.1.0.25"]},{"source":"osv","ecosystem":"PyPI","package":"opencv-contrib-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}],"versions":["3.4.10.35","3.4.10.37","3.4.11.39","3.4.11.41","3.4.11.43","3.4.11.45","3.4.13.47","3.4.14.51","3.4.14.53","3.4.15.55","3.4.16.57","3.4.16.59","3.4.17.61","3.4.17.63","3.4.18.65","3.4.2.17","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27","3.4.7.28","3.4.8.29","3.4.9.31","3.4.9.33","4.0.0.21","4.0.1.23","4.0.1.24","4.1.0.25"]},{"source":"osv","ecosystem":"PyPI","package":"opencv-contrib-python-headless","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}],"versions":["3.4.0.14","3.4.10.37","3.4.11.41","3.4.11.43","3.4.11.45","3.4.13.47","3.4.14.51","3.4.14.53","3.4.15.55","3.4.16.57","3.4.16.59","3.4.17.61","3.4.17.63","3.4.18.65","3.4.2.17","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27","3.4.7.28","3.4.8.29","3.4.9.33","4.0.0.21","4.0.1.23","4.0.1.24","4.1.0.25"]},{"source":"osv","ecosystem":"PyPI","package":"opencv-contrib-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}],"versions":["3.4.10.35","3.4.10.37","3.4.11.39","3.4.11.41","3.4.11.43","3.4.11.45","3.4.13.47","3.4.14.51","3.4.14.53","3.4.15.55","3.4.16.57","3.4.16.59","3.4.17.61","3.4.17.63","3.4.18.65","3.4.2.17","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27","3.4.7.28","3.4.8.29","3.4.9.31","3.4.9.33","4.0.0.21","4.0.1.23","4.0.1.24","4.1.0.25"]},{"source":"osv","ecosystem":"PyPI","package":"opencv-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}],"versions":["3.4.0.14","3.4.1.15","3.4.10.35","3.4.10.37","3.4.11.39","3.4.11.41","3.4.11.43","3.4.11.45","3.4.13.47","3.4.14.51","3.4.14.53","3.4.15.55","3.4.16.57","3.4.16.59","3.4.17.61","3.4.17.63","3.4.18.65","3.4.2.16","3.4.2.17","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27","3.4.7.28","3.4.8.29","3.4.9.31","3.4.9.33","4.0.0.21","4.0.1.23","4.0.1.24","4.1.0.25"]},{"source":"osv","ecosystem":"PyPI","package":"opencv-python-headless","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}],"versions":["3.4.10.37","3.4.11.39","3.4.11.41","3.4.11.43","3.4.11.45","3.4.13.47","3.4.14.51","3.4.14.53","3.4.15.55","3.4.16.57","3.4.16.59","3.4.17.61","3.4.17.63","3.4.18.65","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27","3.4.7.28","3.4.8.29","3.4.9.33","4.0.0.21","4.0.1.24","4.1.0.25"]},{"source":"osv","ecosystem":"PyPI","package":"opencv-contrib-python-headless","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.1.0.25"}]}],"versions":["3.4.0.14","3.4.1.15","3.4.10.37","3.4.11.39","3.4.11.41","3.4.11.43","3.4.11.45","3.4.13.47","3.4.14.51","3.4.14.53","3.4.15.55","3.4.16.57","3.4.16.59","3.4.17.61","3.4.17.63","3.4.18.65","3.4.2.17","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27","3.4.7.28","3.4.8.29","3.4.9.33","4.0.0.21","4.0.1.23","4.0.1.24","4.1.0.25"]}],"products":[{"vendor":"opencv","product":"opencv"},{"vendor":"oracle","product":"application_testing_suite"},{"vendor":"oracle","product":"big_data_spatial_and_graph"},{"vendor":"oracle","product":"enterprise_manager_base_platform"}],"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","report"]},{"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/releases/tag/25","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m6vm-8g8v-xfjh","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-5063","tags":["advisory"]},{"url":"https://github.com/opencv/opencv-python","tags":["package"]},{"url":"https://pypi.org/project/opencv-contrib-python","tags":["package"]},{"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"]},{"url":"https://ubuntu.com/security/CVE-2019-5063","tags":["report"]},{"url":"https://github.com/opencv/opencv/issues/15857","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-5063","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-5063","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":"published","published":"2020-01-03T16:57:31Z","modified":"2024-08-04T19:47:56.691Z","cvss":[{"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","level":"high","assessor":"cna"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:20:18.411291Z"}],"euvd":[{"id":"EUVD-2021-2226","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":"published","published":"2020-01-03T16:57:31Z","modified":"2024-08-04T19:47:56Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-03T03:06:52.999682Z"}],"ghsa":[{"id":"GHSA-m6vm-8g8v-xfjh","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 (corresponds with OpenCV-Python 4.1.0.25). 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":"published","published":"2021-10-12T22:23:13Z","modified":"2023-02-01T05:06:08Z","cvss":[{"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","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:36:37.441118Z"}],"nvd":[{"id":"CVE-2019-5063","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":"published","published":"2020-01-03T17:15:12.21Z","modified":"2026-06-17T02:37:04.067Z","cvss":[{"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","level":"high","assessor":"primary"},{"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","level":"high","assessor":"secondary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-120","CWE-787"],"updated_at":"2026-11-02T14:05:41.313583Z"}],"osv":[{"id":"CVE-2019-5063","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":"published","published":"2020-01-03T17:15:12.21Z","modified":"2026-10-31T02:46:04.060796149Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:44:12.363788Z"},{"id":"DEBIAN-CVE-2019-5063","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":"published","published":"2020-01-03T17:15:12.21Z","modified":"2026-09-21T07:03:19.207317901Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:45:32.221385Z"},{"id":"GHSA-m6vm-8g8v-xfjh","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 (corresponds with OpenCV-Python 4.1.0.25). 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":"published","published":"2021-10-12T22:23:13Z","modified":"2026-09-10T03:49:16.253630526Z","cvss":[{"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","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:46:51.463834Z"},{"id":"PYSEC-2026-2801","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 (corresponds with OpenCV-Python 4.1.0.25). 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":"published","published":"2026-07-09T16:49:38.125027Z","modified":"2026-07-13T16:43:35.489311375Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:52:55.961245Z"},{"id":"PYSEC-2026-2826","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 (corresponds with OpenCV-Python 4.1.0.25). 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":"published","published":"2026-07-09T16:49:37.936945Z","modified":"2026-07-13T16:43:35.489311375Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:52:56.429374Z"},{"id":"PYSEC-2026-2840","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 (corresponds with OpenCV-Python 4.1.0.25). 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":"published","published":"2026-07-09T16:49:38.027042Z","modified":"2026-07-13T16:43:35.489311375Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:52:56.429374Z"},{"id":"PYSEC-2026-724","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 (corresponds with OpenCV-Python 4.1.0.25). 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":"published","published":"2026-07-02T14:13:13.393444Z","modified":"2026-07-13T16:43:35.489311375Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:52:58.117212Z"},{"id":"UBUNTU-CVE-2019-5063","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":"withdrawn","published":"2020-01-03T17:15:00Z","modified":"2025-07-18T16:44:58Z","cvss":[{"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","level":"high"},{"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","level":"high"}],"updated_at":"2026-11-02T15:54:21.741399Z"}]}}
