Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200802-01 ] SDL_image: Two buffer overflow vulnerabilities
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
Advocate
Advocate


Joined: 12 May 2004
Posts: 2663

PostPosted: Wed Feb 06, 2008 10:26 pm    Post subject: [ GLSA 200802-01 ] SDL_image: Two buffer overflow vulnerabil Reply with quote

Gentoo Linux Security Advisory

Title: SDL_image: Two buffer overflow vulnerabilities (GLSA 200802-01)
Severity: normal
Exploitable: remote
Date: February 06, 2008
Bug(s): #207933
ID: 200802-01

Synopsis

Two boundary errors have been identified in SDL_image allowing for the remote execution of arbitrary code or the crash of the application using the library.

Background

SDL_image is an image file library that loads images as SDL surfaces, and supports various formats like BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, XCF, XPM, and XV.

Affected Packages

Package: media-libs/sdl-image
Vulnerable: < 1.2.6-r1
Unaffected: >= 1.2.6-r1
Architectures: All supported architectures


Description

The LWZReadByte() function in file IMG_gif.c and the IMG_LoadLBM_RW() function in file IMG_lbm.c each contain a boundary error that can be triggered to cause a static buffer overflow and a heap-based buffer overflow. The first boundary error comes from some old vulnerable GD PHP code (CVE-2006-4484).

Impact

A remote attacker can make an application using the SDL_image library to process a specially crafted GIF file or IFF ILBM file that will trigger a buffer overflow, resulting in the execution of arbitrary code with the permissions of the application or the application crash.

Workaround

There is no known workaround at this time.

Resolution

All SDL_image users should upgrade to the latest version:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/sdl-image-1.2.6-r1"


References

SA28640
CVE-2007-6697
CVE-2008-0544
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