An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV, version 4.1.0 (corresponds with OpenCV-Python version 4.1.2.30). A specially crafted JSON file can cause a buffer overflow, resulting in multiple heap corruptions and potentially code execution. An attacker can provide a specially crafted file to trigger this vulnerability.
{
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2020-01-03T17:15:00Z",
"cwe_ids": [
"CWE-120",
"CWE-787"
],
"github_reviewed_at": "2021-10-06T17:39:57Z"
}