GLSA 200903-12: OptiPNG: User-assisted execution of arbitrary code

Severity:normal
Title:OptiPNG: User-assisted execution of arbitrary code
Date:03/09/2009
Bugs: #260265
ID:200903-12

Synopsis

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

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-gfx/optipng < 0.6.2-r1 >= 0.6.2-r1 All supported architectures

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.

Workaround

There is no known workaround at this time.

Resolution

All OptiPNG users should upgrade to the latest version:

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

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200903-12.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!