CVE-2016-1516 json
Double Free in OpenCV
published 2017-04-10 9 y ago modified 2026-09-10 1 mo ago also GHSA-cvhw-2593-5j2q , PYSEC-2026-2816 , PYSEC-2026-707 , EUVD-2021-2191
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
OpenCV 3.0.0 has a double free issue that allows attackers to execute arbitrary code.
Patch / fix
- pypi opencv-python 3.3.1.11
- pypi opencv-contrib-python 3.3.1.11
- opencv Debian 14, Debian 13, Debian 12 3.2.0+dfsg-6
debian advisories DEBIAN-CVE-2016-1516
- opencv Ubuntu 16.04 LTS 2.4.9.1+dfsg-1.5ubuntu1.1
- opencv Ubuntu 18.04 LTS 3.2.0+dfsg-4ubuntu0.1
ubuntu advisories UBUNTU-CVE-2016-1516
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- opencv Package Hub 12 SP3 3.1.0-5.1
- opencv-qt5 Package Hub 12 SP3 3.1.0-5.1
opensuse advisories openSUSE-SU-2018:1265-1openSUSE-SU-2018:1271-1
- github.com/opencv/opencv/issues/5956 patch
- github.com/opencv/opencv#9376 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-1516 updated cvss 3.3
opencv: Double free vulnerability on crafted image
-
Red Hat Enterprise Linux 6 opencv, opencv-python Red Hat Enterprise Linux 7 opencv, opencv-core, opencv-pythonaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.35% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- arxiv.org https://arxiv.org/pdf/1701.04739.pdf referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | opencv-python | <3.3.1.11 |
3.3.1.11 |
| pypi | opencv-contrib-python | <3.3.1.11 |
3.3.1.11 |
Affected products
- n/a OpenCV 3.0.0
Classification
- Weakness
-
- CWE-415 Double Free
References
-
github.com
/opencv/opencv/issues/5956
web, issue-tracking, patch
-
github.com
/opencv/opencv/pull/9376
web
-
arxiv.org
/pdf/1701.04739.pdf
web, exploit, technical-description, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/07/msg00030.html
mailing-list, web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/10/msg00028.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2016-1516
advisory
-
github.com
/opencv/opencv-python
package
-
pypi.org
/project/opencv-contrib-python
package
-
github.com
/advisories/GHSA-cvhw-2593-5j2q
advisory
-
pypi.org
/project/opencv-python
package
Sources
- CVE List CVE-2016-1516
- GitHub Advisory GHSA-cvhw-2593-5j2q
- NVD CVE-2016-1516
- OSV PYSEC-2026-707
- OSV PYSEC-2026-2816
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.