portage-ng / portage / media-libs / imlib / 1.9.15-r9
portage-ng glsa
2 advisories reference media-libs/imlib · none place version 1.9.15-r9 in a vulnerable range
▸ GLSA 200412-03 imlib: Buffer overflows in image decoding this version unaffected normal remote 2004-12-06

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

Announced
2004-12-06
Revised
2004-12-06
Access
remote
Bugs
#72681
Advisory
https://security.gentoo.org/glsa/200412-03

Affected packages

PackageArchVulnerableUnaffected
media-libs/imlib*<= 1.9.14-r2>= 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

▸ GLSA 200409-12 ImageMagick, imlib, imlib2: BMP decoding buffer overflows this version unaffected normal remote 2004-09-08

ImageMagick, imlib and imlib2 contain exploitable buffer overflow vulnerabilities in the BMP image processing code.

Announced
2004-09-08
Revised
2004-09-08
Access
remote
Bugs
#62309 #62487
Advisory
https://security.gentoo.org/glsa/200409-12

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.0.7.1>= 6.0.7.1
media-libs/imlib*< 1.9.14-r2>= 1.9.14-r2
media-libs/imlib2*< 1.1.2>= 1.1.2

Background

ImageMagick is a suite of image manipulation utilities and libraries used for a wide variety of image formats. imlib is a general image loading and rendering library.

Description

Due to improper bounds checking, ImageMagick and imlib are vulnerable to a buffer overflow when decoding runlength-encoded bitmaps. This bug can be exploited using a specially-crafted BMP image and could potentially allow remote code execution when this image is decoded by the user.

Impact

A specially-crafted runlength-encoded BMP could lead ImageMagick and imlib to crash or potentially execute arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge sync

# emerge -pv ">=media-gfx/imagemagick-6.0.7.1"
# emerge ">=media-gfx/imagemagick-6.0.7.1"

All imlib users should upgrade to the latest version:

# emerge sync

# emerge -pv ">=media-libs/imlib-1.9.14-r2"
# emerge ">=media-libs/imlib-1.9.14-r2"

All imlib2 users should upgrade to the latest version:

# emerge sync

# emerge -pv ">=media-libs/imlib2-1.1.2"
# emerge ">=media-libs/imlib2-1.1.2"

References