Gentoo Logo

OptiPNG: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201404-03 / optipng
Release Date April 07, 2014
Latest Revision April 07, 2014: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/optipng < 0.7.3 >= 0.7.3 All supported architectures

Related bugreports: #435340


A use-after-free error in OptiPNG could result in execution of arbitrary code or Denial of Service.

2.  Impact Information


OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information.


A use-after-free vulnerability exists in the palette reduction functionality of OptiPNG.


A remote attacker could entice a user to open a specially crafted image file, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

3.  Resolution Information


There is no known workaround at this time.


All OptiPNG users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=media-gfx/optipng-0.7.3"

4.  References


Page updated April 07, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.