CVE-2016-10087 json
The png_set_text_2 function in libpng 0.71 before 1.0.67, 1.2.x before 1.2.57, 1.4.x before 1.4.20, 1.5.x before 1.5.28, and 1.6.x before 1…
published 2017-01-30 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-1279
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.1%
- EPSS 5.1% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
The png_set_text_2 function in libpng 0.71 before 1.0.67, 1.2.x before 1.2.57, 1.4.x before 1.4.20, 1.5.x before 1.5.28, and 1.6.x before 1.6.27 allows context-dependent attackers to cause a NULL pointer dereference vectors involving loading a text chunk into a png structure, removing the text, and then adding another text chunk to the structure.
Patch / fix
- libpng1.6 Debian 14, Debian 13, Debian 12 1.6.27-1
debian advisories DEBIAN-CVE-2016-10087
- libpng Ubuntu 14.04 LTS 1.2.50-1ubuntu2.14.04.3
- libpng Ubuntu 16.04 LTS 1.2.54-1ubuntu1.1
- libpng1.6 Ubuntu Pro 16.04 LTS 1.6.20-2ubuntu0.1~esm4
ubuntu advisories UBUNTU-CVE-2016-10087
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
- libpng15 SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +4 more 1.5.22-9.1
- libpng12-0 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 1.2.31-5.43.1
- libpng12 SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 1.2.50-19.1
- libpng16 SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 1.6.8-14.1
suse advisories SUSE-SU-2017:0950-1SUSE-SU-2017:0901-1SUSE-SU-2017:0860-1SUSE-SU-2017:0853-1
- libpng16 openSUSE Tumbleweed 1.6.37-3.3
opensuse advisories openSUSE-SU-2024:10972-1
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-10087 updated cvss 3.3
libpng: NULL pointer dereference in png_set_text_2()
-
Red Hat Enterprise Linux 5 libpng Red Hat Enterprise Linux 6 libpng Red Hat Enterprise Linux 7 libpng, libpng12 Red Hat Enterprise Virtualization 3 mingw-virt-viewer, mingw32-virt-viewer, mingw64-virt-vieweraffected: 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
5.13% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
security.gentoo.org
/glsa/201701-74
vendor-advisory
-
usn.ubuntu.com
/3712-1/
vendor-advisory
-
usn.ubuntu.com
/3712-2/
vendor-advisory
-
openwall.com
/lists/oss-security/2016/12/30/4
mailing-list, third-party-advisory
-
securityfocus.com
/bid/95157
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2016/12/29/2
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
mailing-list
Sources
- CVE List CVE-2016-10087
- NVD CVE-2016-10087
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.