Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200409-12 ] ImageMagick, imlib, imlib2: BMP decoding buffer overflows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Wed Sep 08, 2004 9:22 am    Post subject: [ GLSA 200409-12 ] ImageMagick, imlib, imlib2: BMP decoding Reply with quote

Gentoo Linux Security Advisory

Title: ImageMagick, imlib, imlib2: BMP decoding buffer overflows (GLSA 200409-12)
Severity: normal
Exploitable: remote
Date: September 08, 2004
Bug(s): #62309, #62487
ID: 200409-12

Synopsis

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

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.

Affected Packages

Package: media-gfx/imagemagick
Vulnerable: < 6.0.7.1
Unaffected: >= 6.0.7.1
Architectures: All supported architectures

Package: media-libs/imlib
Vulnerable: < 1.9.14-r2
Unaffected: >= 1.9.14-r2
Architectures: All supported architectures

Package: media-libs/imlib2
Vulnerable: < 1.1.2
Unaffected: >= 1.1.2
Architectures: All supported architectures


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:
Code:
# 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:
Code:
# 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:
Code:
# emerge sync
# emerge -pv ">=media-libs/imlib2-1.1.2"
# emerge ">=media-libs/imlib2-1.1.2"


References

CAN-2004-0817
CAN-2004-0802
ImageMagick Mailing List
SecurityTracker #1011104
SecurityTracker #1011105


Last edited by GLSA on Sun May 07, 2006 4:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum