Ubuntu CVE Tracker
UBUNTU-CVE-2019-5064
This advisory was withdrawn on 18 July 2025.
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | opencv | All versions before 4.2.0+dfsg-5 (fixed in 4.2.0+dfsg-5) |
| Ubuntu:22.04:LTS | opencv | All versions before 4.5.4+dfsg-9ubuntu4 (fixed in 4.5.4+dfsg-9ubuntu4) |