Gentoo Logo

OptiPNG: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200812-01 / optipng
Release Date December 02, 2008
Latest Revision December 02, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/optipng < 0.6.2 >= 0.6.2 All supported architectures

Related bugreports: #246522


A vulnerability in OptiPNG might result in user-assisted execution of arbitrary code.

2.  Impact Information


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


A buffer overflow in the BMP reader in OptiPNG has been reported.


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

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.6.2"

4.  References


Page updated December 02, 2008

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.