# What is CVE-2016-10087?

> CVE-2016-10087 is a high-severity flaw (CVSS 7.5) in Libpng, published on 30 January 2017. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 5.1%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.precursorintelligence.com/what-is/cve-2016-10087

## At a glance

- **Verdict:** Plan it in. No sign of exploitation and a low forecast. Patch it in your normal update cycle.
- **Precursor Intelligence risk score:** 49 out of 100 (Medium); action: Plan remediation. Kept up to date as the evidence changes.
- **Severity:** High (CVSS 7.5 out of 10)
- **Known to be exploited:** No, not on the list of flaws known to be exploited today
- **Chance of use in the next 30 days:** 5.1% (latest exploit-likelihood forecast)
- **Published:** 30 January 2017
- **Record last updated:** 20 April 2025
- **Main product:** Libpng
- **Affected products:** 1

## What is CVE-2016-10087? In plain terms

It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can take it offline.

### The 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.

### What kind of flaw is it?

- CWE-476: NULL Pointer Dereference

### How an attack on it works

- Where an attacker can be: Anywhere on the internet
- How hard it is to pull off: Easy: no special conditions
- Login needed first: No login needed
- Does someone have to click: No, nobody has to do anything
- What an attacker gets: Can take it offline

Severity vector: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## Is CVE-2016-10087 being exploited? Not that we know of

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 5.1%. That can change at any time, which is why we keep watching.

Exploit likelihood over the last 7 days: 5.1%, 5.1%, 5.1%, 5.1%, 5.1%, 5.1%, 5.1%.

### Timeline

- 30 January 2017: Published
- 20 April 2025: Record last updated

### How Precursor Intelligence ranks it

CVE-2016-10087 scores **49 out of 100 (Medium)**, with the action "Plan remediation".

Every published flaw gets a risk score from 0 to 100, kept up to date as the evidence changes. Four things go into the score, from the one that counts most to the ones that count less:

- Evidence it is being exploited: biggest factor
- How severe it is: strong factor
- How widely exposed it is: smaller factor
- Threat activity around it: smaller factor

85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score. When this flaw matches software you track, it lands in your list with its score and the reasons behind it.

## Who is affected by CVE-2016-10087?

The published record lists 1 product.

- [Libpng](https://www.precursorintelligence.com/product/libpng/libpng) by [Libpng](https://www.precursorintelligence.com/vendors/libpng) (Application): 0.8, 0.71, 0.81, 0.82, 0.85, 0.86, 0.87, 0.88, 0.89, 0.89c, 0.90, 0.95, 0.96, 0.97, 0.98, 0.99a, 0.99b, 0.99, 0.99c, 0.99d, 0.99e, 0.99f, 0.99g, 0.99h, 1.00, 1.0.0a, 1.0.0b, 1.0.0, 1.0.1a, 1.0.1b, 1.0.1, 1.0.1c, 1.0.1d, 1.0.1e, 1.0.2a, 1.0.2, 1.0.3a, 1.0.3b, 1.0.3, 1.0.3d and 210 more

## How do I fix CVE-2016-10087?

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? Precursor Intelligence can work it out from your public website, or you can pick it from a list.
2. **Apply the vendor’s fix.** Install the latest update from the vendor. The references list where the vendor has published details.
3. **If you can’t patch today.** Follow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
4. **Keep an eye on it.** Track the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.

### References

- [openwall.com](http://www.openwall.com/lists/oss-security/2016/12/29/2) (Mailing list, Third-party advisory)
- [openwall.com](http://www.openwall.com/lists/oss-security/2016/12/30/4) (Mailing list, Third-party advisory)
- [securityfocus.com](http://www.securityfocus.com/bid/95157) (Third-party advisory, Vulnerability database)
- [lists.apache.org](https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E)
- [lists.apache.org](https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E)
- [security.gentoo.org](https://security.gentoo.org/glsa/201701-74)
- [usn.ubuntu.com](https://usn.ubuntu.com/3712-1/)
- [usn.ubuntu.com](https://usn.ubuntu.com/3712-2/)

## Questions

### What is CVE-2016-10087?

CVE-2016-10087 is a high-severity flaw in Libpng, published on 30 January 2017. It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can take it offline.

### How serious is CVE-2016-10087?

It scores 7.5 out of 10 on the CVSS severity scale, which is high. Our risk score for CVE-2016-10087 is 49 out of 100, which is Medium. Its action is "Plan remediation". No sign of exploitation and a low forecast. Patch it in your normal update cycle.

### Is CVE-2016-10087 being exploited?

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 5.1%. That can change at any time, which is why we keep watching.

### Which versions does CVE-2016-10087 affect?

For Libpng: 0.8, 0.71, 0.81, 0.82, 0.85, 0.86 and 244 more.

### How do I fix CVE-2016-10087?

Install the update the vendor names in its advisory. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.

## Does CVE-2016-10087 affect you?

Precursor Intelligence keeps checking for you:

- **Tell us what you run.** Pick your software from a list, or let us work it out from your website.
- **We match it to every flaw.** Over 400,000 published flaws, checked against your list.
- **Ranked by real-world risk.** Every flaw gets a 0 to 100 risk score, kept up to date, led by evidence criminals are using it.
- **Told as soon as we know.** An alert by email, in the app or by webhook to your own tools.

Start free (no card, nothing to install): https://www.precursorintelligence.com/register
Book a demo: https://www.precursorintelligence.com/contact

