Home / Libpng / Libpng / CVE-2016-10087
CVE-2016-10087: is it exploited, and which versions of Libpng are affected and fixed?
CVE-2016-10087 is a NULL pointer dereference (crash) vulnerability in Libpng. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: libpng 0.8, libpng 0.71, libpng 0.81 and 40 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:44 UTC.
What is CVE-2016-10087?
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.
From the CVE record by mitre, last updated August 6, 2024, 03:07 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libpng | libpng | 0.8 | application |
| libpng | libpng | 0.71 | application |
| libpng | libpng | 0.81 | application |
| libpng | libpng | 0.82 | application |
| libpng | libpng | 0.85 | application |
| libpng | libpng | 0.86 | application |
| libpng | libpng | 0.87 | application |
| libpng | libpng | 0.88 | application |
| libpng | libpng | 0.89 | application |
| libpng | libpng | 0.89c | application |
| libpng | libpng | 0.90 | application |
| libpng | libpng | 0.95 | application |
| libpng | libpng | 0.96 | application |
| libpng | libpng | 0.97 | application |
| libpng | libpng | 0.98 | application |
| libpng | libpng | 0.99 | application |
| libpng | libpng | 0.99a | application |
| libpng | libpng | 0.99b | application |
| libpng | libpng | 0.99c | application |
| libpng | libpng | 0.99d | application |
| libpng | libpng | 0.99e | application |
| libpng | libpng | 0.99f | application |
| libpng | libpng | 0.99g | application |
| libpng | libpng | 0.99h | application |
| libpng | libpng | 1.00 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:39 UTC.
How severe is CVE-2016-10087?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-10087 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.13% probability of exploitation activity in the next 30 days, percentile 92.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-476 NULL Pointer Dereference
Where are the vendor advisories and references?
- GLSA-201701-74 vendor-advisory, x_refsource_GENTOO
- USN-3712-1 vendor-advisory, x_refsource_UBUNTU
- [oss-security] 20161230 Re: libpng NULL pointer dereference bugfix mailing-list, x_refsource_MLIST
- 95157 vdb-entry, x_refsource_BID
- USN-3712-2 vendor-advisory, x_refsource_UBUNTU
- [oss-security] 20161229 libpng NULL pointer dereference bugfix mailing-list, x_refsource_MLIST
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- December 30, 2016
- Published
- January 30, 2017, 22:00 UTC
- CVE record updated
- August 6, 2024, 03:07 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:39 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:44 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libpng?
- Jan 27, 2026CVE-2025-28164 Libpng: memory leak
- Jan 27, 2026CVE-2025-28162 Libpng: buffer overflow
- Aug 24, 2022CVE-2021-4214 libpng: buffer overflow
- Jul 10, 2019CVE-2017-12652 Libpng: improper input validation
- Jul 10, 2019CVE-2018-14550 Libpng: out-of-bounds write (memory corruption)
- Feb 4, 2019CVE-2019-7317 Libpng: use after free
- Jan 11, 2019CVE-2019-6129 Libpng: memory leak disputed
- Jul 13, 2018CVE-2018-14048 Libpng: n/a
Questions about CVE-2016-10087
Is CVE-2016-10087 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 5.13% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Libpng are affected by CVE-2016-10087?
libpng 0.8, libpng 0.71, libpng 0.81, libpng 0.82, libpng 0.85, libpng 0.86 and 37 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-10087?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2016-10087?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-10087?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.