{"id":"CVE-2016-1516","aliases":["GHSA-cvhw-2593-5j2q","PYSEC-2026-2816","PYSEC-2026-707"],"title":"Double Free in OpenCV","summary":"Double Free in OpenCV","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","vendor":"opencv-python","product":"opencv-python","ecosystem":"pip","affected":["opencv-python < 3.3.1.11","opencv-contrib-python < 3.3.1.11"],"patched":["opencv-python 3.3.1.11","opencv-contrib-python 3.3.1.11"],"published":"2021-10-12","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:49:09.090921753Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-cvhw-2593-5j2q","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-1516"},{"url":"https://github.com/opencv/opencv/issues/5956"},{"url":"https://github.com/opencv/opencv/pull/9376"},{"url":"https://arxiv.org/pdf/1701.04739.pdf"},{"url":"https://github.com/opencv/opencv-python"},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html"},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html"}],"tags":["osv","pip"],"epss":0.02356,"epssPercentile":0.82835,"ingestedAt":"2026-07-08T18:25:48.582Z","slug":"CVE-2016-1516","body":"## Overview\n\nOpenCV 3.0.0 has a double free issue that allows attackers to execute arbitrary code. This issue was fixed in OpenCV version 3.3.1 (corresponding to OpenCV-Python and and OpenCV-Contrib-Python 3.3.1.11).\n\n## Affected packages\n\n- `opencv-python < 3.3.1.11`\n- `opencv-contrib-python < 3.3.1.11`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `opencv-python 3.3.1.11`\n- `opencv-contrib-python 3.3.1.11`","depth":"twilight","depthScore":49,"depthScoreParts":{"impact":48.4,"likelihood":0.5,"exploitation":0,"ransomware":0},"changes":[]}