Pngcrush: Buffer overflow — GLSA 200603-18

Pngcrush is vulnerable to a buffer overflow which could potentially lead to the execution of arbitrary code.

Affected Packages

media-gfx/pngcrush on all architectures
Affected versions < 1.6.2
Unaffected versions >= 1.6.2

Background

Pngcrush is an optimizer for PNG files.

Description

Carsten Lohrke of Gentoo Linux reported that Pngcrush contains a vulnerable version of zlib (GLSA 200507-19).

Impact

By creating a specially crafted data stream, attackers can overwrite data structures for applications that use Pngcrush, resulting in a Denial of Service and potentially arbitrary code execution.

Workaround

There is no known workaround at this time.

Resolution

All Pngcrush users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-gfx/pngcrush-1.6.2"

References

Release Date
March 21, 2006

Latest Revision
March 21, 2006: 01

Severity
normal

Exploitable
remote

Bugzilla entries