USN-3495-1: OptiPNG vulnerability

27 November 2017

optipng vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 17.10
  • Ubuntu 17.04
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS


OptiPNG could be made to crash or run programs as your login if it opened a specially crafted file.

Software Description

  • optipng - advanced PNG (Portable Network Graphics) optimizer


It was discovered that OptiPNG incorrectly handled memory. A remote attacker could use this issue with a specially crafted image file to cause OptiPNG to crash, resulting in a denial of service, or possibly execute arbitrary code.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 17.10
optipng - 0.7.6-1ubuntu0.17.10.1
Ubuntu 17.04
optipng - 0.7.6-1ubuntu0.17.04.1
Ubuntu 16.04 LTS
optipng - 0.7.6-1ubuntu0.16.04.1
Ubuntu 14.04 LTS
optipng - 0.6.4-1ubuntu0.14.04.2

To update your system, please follow these instructions:

In general, a standard system update will make all the necessary changes.