gif2png: User-assisted execution of arbitrary code — GLSA 201101-01

gif2png contains a stack overflow vulnerability when parsing command line arguments.

Affected packages

media-gfx/gif2png on all architectures
Affected versions < 2.5.1-r1
Unaffected versions >= 2.5.1-r1

Background

gif2png is a command line program that converts image files from the Graphics Interchange Format (GIF) format to the Portable Network Graphics (PNG) format.

Description

gif2png contains a command line parsing vulnerability that may result in a stack overflow due to an unexpectedly long input filename.

Impact

A remote attacker could entice a user to open a specially crafted image, possibly resulting in the execution of arbitrary code with the privileges of the user running the application, or a Denial of Service. Note that applications relying on gif2png to process images can also trigger the vulnerability.

Workaround

There is no known workaround at this time.

Resolution

All gif2png users should upgrade to the latest stable version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-gfx/gif2png-2.5.1-r1"

References

Release date
January 05, 2011

Latest revision
January 05, 2011: 01

Severity
normal

Exploitable
remote

Bugzilla entries