ADVISORIES

Vulnerability

CVE-2019-5064

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.

7 advisories report this vulnerability, across 3 ecosystems.

High severity All PyPI 5Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2019-5064

    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…

    CVE-2019-5064 Debian Updated 21 September 2026
  • GHSA-q799-q27x-vp7w

    Out-of-bounds Write in OpenCV

    High CVE-2019-5064 PyPI Updated 10 September 2026
  • PYSEC-2026-2802

    Out-of-bounds Write in OpenCV

    CVE-2019-5064 PyPI Updated 13 July 2026
  • PYSEC-2026-2828

    Out-of-bounds Write in OpenCV

    CVE-2019-5064 PyPI Updated 13 July 2026
  • PYSEC-2026-2841

    Out-of-bounds Write in OpenCV

    CVE-2019-5064 PyPI Updated 13 July 2026
  • PYSEC-2026-725

    Out-of-bounds Write in OpenCV

    CVE-2019-5064 PyPI Updated 13 July 2026
  • UBUNTU-CVE-2019-5064

    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…

    CVE-2019-5064 Ubuntu Updated 16 July 2025

References