imlib: Buffer overflows in image decoding — GLSA 200412-03

Multiple overflows have been found in the imlib library image decoding routines, potentially allowing execution of arbitrary code.

Affected packages

media-libs/imlib on all architectures
Affected versions <= 1.9.14-r2
Unaffected versions >= 1.9.14-r3

Background

imlib is an advanced replacement library for image manipulation libraries like libXpm. It is called by numerous programs, including gkrellm and several window managers, to help in displaying images.

Description

Pavel Kankovsky discovered that several overflows found in the libXpm library (see GLSA 200409-34) also applied to imlib. He also fixed a number of other potential flaws.

Impact

A remote attacker could entice a user to view a carefully-crafted image file, which would potentially lead to execution of arbitrary code with the rights of the user viewing the image. This affects any program that makes use of the imlib library.

Workaround

There is no known workaround at this time.

Resolution

All imlib users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/imlib-1.9.14-r3"

References

Release date
December 06, 2004

Latest revision
December 06, 2004: 01

Severity
normal

Exploitable
remote

Bugzilla entries