OptiPNG: User-assisted execution of arbitrary code

Security Team  Contact Address

Updated December 02, 2008

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

Synopsis

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

2.  Impact Information

Background

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

Description

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

Impact

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

Workaround

There is no known workaround at this time.

Resolution

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