OptiPNG: User-assisted execution of arbitrary code — GLSA 201404-03

A use-after-free error in OptiPNG could result in execution of arbitrary code or Denial of Service.

Affected Packages

media-gfx/optipng on all architectures
Affected versions < 0.7.3
Unaffected versions >= 0.7.3

Background

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

Description

A use-after-free vulnerability exists in the palette reduction functionality of OptiPNG.

Impact

A remote attacker could entice a user to open a specially crafted image file, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

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.7.3"
 

References

Release Date
April 07, 2014

Latest Revision
April 07, 2014: 1

Severity
normal

Exploitable
remote

Bugzilla entries