{"id":"CVE-2019-5063","published":"2020-01-03T16:57:31Z","modified":"2024-08-04T19:47:56Z","title":"An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.21108,"percentile":0.97637,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC"]},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0852","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC"]}],"priority":{"score":25.7,"factors":[{"name":"EPSS percentile","points":19.53},{"name":"CVSS severity","points":6.16}]},"affectedVersions":[{"vendor":"n/a","product":"OpenCV","versions":["OpenCV 4.1.0"]}],"affected":[{"ecosystem":"PyPI","package":"opencv-python","vulnerableRanges":["<=4.1.0.25"],"patched":[],"from":["GHSA-m6vm-8g8v-xfjh","PYSEC-2026-2826"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-python-headless","vulnerableRanges":["<=4.1.0.25"],"patched":[],"from":["GHSA-m6vm-8g8v-xfjh","PYSEC-2026-2840"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-contrib-python","vulnerableRanges":["<=4.1.0.25"],"patched":[],"from":["GHSA-m6vm-8g8v-xfjh","PYSEC-2026-2801"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-contrib-python-headless","vulnerableRanges":["<=4.1.0.25"],"patched":[],"from":["GHSA-m6vm-8g8v-xfjh","PYSEC-2026-724"],"provenance":"source"}],"summary":{"text":"A heap buffer overflow in the data structure persistence functionality of OpenCV 4.1.0 allows heap corruption when the library processes a specially crafted XML file. An attacker who supplies such a file can trigger the overflow, potentially achieving code execution, and user interaction is required to get the file processed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:39:45Z"},"euvd":{"id":"EUVD-2021-2226","exploited":false,"provenance":"source"}}