CVE-2016-10087: Null Pointer Dereference
Last updated 18 August 2026
Other sources
The pngsettext2 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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libpng1.6to a version that resolves this vulnerability.Fixed in 1.6.37-3Fixed in 1.6.37-3+deb11u4Fixed in 1.6.39-2+deb12u5Fixed in 1.6.48-1+deb13u5Fixed in 1.6.58-1 - Upgrade
Upgrade
libpngto a version that resolves this vulnerability.Fixed in 1.0.67 - Upgrade
Upgrade
libpngto a version that resolves this vulnerability.Fixed in 1.2.57 - Upgrade
Upgrade
libpngto a version that resolves this vulnerability.Fixed in 1.4.20 - Upgrade
Upgrade
libpngto a version that resolves this vulnerability.Fixed in 1.5.28 - Upgrade
Upgrade
libpngto a version that resolves this vulnerability.Fixed in 1.6.27
Event History
Frequently Asked Questions
What is the severity of CVE-2016-10087?
CVE-2016-10087 has a medium severity level due to its potential to cause a NULL pointer dereference leading to application crashes.
How do I fix CVE-2016-10087?
To fix CVE-2016-10087, update libpng to version 1.0.67 or later for the 0.71 version branch, or to at least 1.2.57, 1.4.20, 1.5.28, or 1.6.27 for the respective branches.
Which versions of libpng are affected by CVE-2016-10087?
Versions of libpng prior to 1.0.67, 1.2.57, 1.4.20, 1.5.28, and 1.6.27 are affected by CVE-2016-10087.
Is CVE-2016-10087 exploitable remotely?
Yes, CVE-2016-10087 can be exploited remotely by attackers through the loading of specially crafted PNG files, causing application failures.
What platforms are impacted by CVE-2016-10087?
CVE-2016-10087 affects systems using vulnerable versions of the libpng library across various platforms including Linux distributions.