CVE-2019-5064

Source
https://cve.org/CVERecord?id=CVE-2019-5064
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5064.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-5064
Aliases
Downstream
Published
2020-01-03T17:15:12.257Z
Modified
2026-07-13T16:43:03.028044223Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_RANGE",
            "vendor_product": "oracle:big_data_spatial_and_graph",
            "extracted_events": [
                {
                    "fixed": "2.0"
                }
            ],
            "cpes": [
                "cpe:2.3:a:oracle:big_data_spatial_and_graph:*:*:*:*:*:*:*:*"
            ]
        },
        {
            "source": "CPE_STRING",
            "vendor_product": "oracle:application_testing_suite",
            "extracted_events": [
                {
                    "introduced": "13.3.0.1"
                },
                {
                    "last_affected": "13.3.0.1"
                }
            ],
            "cpes": [
                "cpe:2.3:a:oracle:application_testing_suite:13.3.0.1:*:*:*:*:*:*:*"
            ]
        },
        {
            "source": "CPE_STRING",
            "vendor_product": "oracle:enterprise_manager_base_platform",
            "extracted_events": [
                {
                    "introduced": "13.4.0.0"
                },
                {
                    "last_affected": "13.4.0.0"
                }
            ],
            "cpes": [
                "cpe:2.3:a:oracle:enterprise_manager_base_platform:13.4.0.0:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/opencv/opencv

Affected ranges

Type
GIT
Repo
https://github.com/opencv/opencv
Events
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.2.0"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5064.json"
vanir_signatures
[
    {
        "id": "CVE-2019-5064-3d0f94f7",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/opencv/opencv/commit/4de7015cfd9462cea82eac35007e541d84e23a27",
        "deprecated": false,
        "digest": {
            "function_hash": "42391463951113352527122832114488237590",
            "length": 56.0
        },
        "target": {
            "function": "getCore",
            "file": "modules/dnn/src/op_inf_engine.cpp"
        }
    },
    {
        "source": "https://github.com/opencv/opencv/commit/4de7015cfd9462cea82eac35007e541d84e23a27",
        "id": "CVE-2019-5064-cde920ea",
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "modules/dnn/src/op_inf_engine.cpp"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "317101903585342046209676890270866796176",
                "4899819219694852016431700102245338623",
                "145431787435142965762058253718854780324",
                "327709608047084872203543569286410968244",
                "150284813203258107715379774141947886599",
                "8203734128214708468098549216124558848",
                "6684646567636119877889396109033940069",
                "82837593067641140679090056088734863650"
            ]
        }
    }
]
vanir_signatures_modified
"2026-07-08T19:51:00Z"

Git / github.com/opencv/opencv_contrib

Affected ranges

Type
GIT
Repo
https://github.com/opencv/opencv_contrib
Events
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.2.0"
        }
    ]
}

Affected versions

4.*
4.0.0
4.0.1
4.1.0
4.1.1
4.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5064.json"