Out-of-bounds Write in OpenCV
High severity
GitHub Reviewed
Published
Oct 12, 2021
to the GitHub Advisory Database
•
Updated Apr 21, 2023
Description
Published by the National Vulnerability Database
Jan 3, 2020
Reviewed
Oct 6, 2021
Published to the GitHub Advisory Database
Oct 12, 2021
Last updated
Apr 21, 2023
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.
References