CVE-2016-10087 Null dereference in n/a
Attackers can cause a denial of service via a NULL pointer dereference in libpng by manipulating text chunks in PNG images.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-10087?
CVE-2016-10087 is a high-severity vulnerability in Libpng Libpng, published on 30 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2016-10087?
It affects 1 product.
Linux distribution packages (9)
libpng16 SUSE:Linux Enterprise Desktop 12 SP1 | All versions | 1.6.8-14.1 |
libpng16 SUSE:Linux Enterprise Desktop 12 SP2 | All versions | 1.6.8-14.1 |
libpng16 SUSE:Linux Enterprise Server 12 SP1 | All versions | 1.6.8-14.1 |
libpng16 SUSE:Linux Enterprise Server 12 SP2 | All versions | 1.6.8-14.1 |
libpng16 SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | All versions | 1.6.8-14.1 |
libpng16 SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 1.6.8-14.1 |
libpng16 SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | All versions | 1.6.8-14.1 |
libpng16 SUSE:Linux Enterprise Software Development Kit 12 SP1 | All versions | 1.6.8-14.1 |
libpng16 SUSE:Linux Enterprise Software Development Kit 12 SP2 | All versions | 1.6.8-14.1 |
Products include Libpng Libpng.
How do I fix CVE-2016-10087?
Upgrade to a fixed version.
Is CVE-2016-10087 being exploited?
There is no known exploitation of CVE-2016-10087 in the wild and no public exploit code.
Other vulnerabilities in Libpng Libpng
- CVE-2017-12652 Denial of service in n/a
- CVE-2018-14550 Out-of-bounds write in libpng
- CVE-2026-25646 LIBPNG has a heap buffer overflow in png_set_quantize
- CVE-2026-33636 LIBPNG has ARM NEON Palette Expansion Out-of-Bounds Read on AArch64
- CVE-2026-33416 LIBPNG has use-after-free via pointer aliasing in `png_set_tRNS` and `png_set_PLTE`
Sources
Also known as AZL-44325, AZL-44883, DEBIAN-CVE-2016-10087, GHSA-r346-8vrh-m3wr, MGASA-2017-0020, SUSE-SU-2017:0853-1 and 1 more.