Description
An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV, before version 4.2.0. 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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | OpenCV | OpenCV 4.1.0 |
References
- https://github.com/opencv/opencv/issues/15857Third Party Advisory
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853Exploit, Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.htmlPatch, Third Party Advisory
- https://github.com/opencv/opencv/issues/15857Third Party Advisory
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0853Exploit, Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.htmlPatch, Third Party Advisory
Timeline
- Published
- Jan 3, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified