OptiPNG: User-assisted execution of arbitrary code A vulnerability in OptiPNG might result in user-assisted execution of arbitrary code. optipng 2009-03-09 2009-03-09 260265 remote 0.6.2-r1 0.6.2-r1

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

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.

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.

There is no known workaround at this time.

All OptiPNG users should upgrade to the latest version:

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