{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-12599","id":"CVE-2017-12599","title":"Out-of-bounds Read in OpenCV ","description":"OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds read error in the function icvCvt_BGRA2BGR_8u_C4C3R when reading an image file by using cv::imread.","descriptionLong":"OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds read error in the function icvCvt_BGRA2BGR_8u_C4C3R when reading an image file by using cv::imread.","published":"2017-08-07T01:00:00.000Z","updated":"2026-10-24T10:47:23.823371262Z","reserved":"2017-08-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"],"advisory":"GHSA-fvq6-392h-6mjj"},{"ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"],"advisory":"GHSA-fvq6-392h-6mjj"}],"cwes":["CWE-125"],"aliases":["GHSA-fvq6-392h-6mjj","PYSEC-2026-2820","PYSEC-2026-710"],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/201712-02","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/xiaoqx/pocs/blob/master/opencv.md","tags":["x_refsource_MISC","x_transferred","Broken Link","Third Party Advisory","advisory","web"]},{"url":"https://github.com/opencv/opencv/issues/9309","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12599","tags":["advisory"]},{"url":"https://github.com/opencv/opencv/pull/9376","tags":["web"]},{"url":"https://github.com/opencv/opencv-python","tags":["package"]},{"url":"https://github.com/opencv/opencv-python/releases/tag/11","tags":["web"]},{"url":"https://github.com/opencv/opencv-python/releases/tag/9","tags":["web"]},{"url":"https://pypi.org/project/opencv-python","tags":["package"]},{"url":"https://github.com/advisories/GHSA-fvq6-392h-6mjj","tags":["advisory"]},{"url":"https://pypi.org/project/opencv-contrib-python","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01986,"epssPercentile":0.81012,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-12599","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12599","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-12599","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fvq6-392h-6mjj","ok":true,"note":"GHSA-fvq6-392h-6mjj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-12599","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}