Gentoo Logo

OptiPNG: User-assisted execution of arbitrary code

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200903-12 / optipng
Release Date March 09, 2009
Latest Revision March 09, 2009: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/optipng < 0.6.2-r1 >= 0.6.2-r1 All supported architectures

Related bugreports: #260265

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

Roy Tam reported a use-after-free vulnerability in the GIFReadNextExtension() function in lib/pngxtern/gif/gifread.c leading to a memory corruption when reading a GIF image.

Impact

A remote attacker could entice a user to process a specially crafted GIF 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-r1"

4.  References



Print

Page updated March 09, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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