SDL_Image IMG_LoadLBM_RW() buffer overflow
| sdlimage-imgloadlbmrw-bo (39899) |
Description:
SDL_Image is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by the IMG_LoadLBM_RW() function in IMG_lbm.c. By sending a specially-crafted IFF ILBM file, a remote attacker could overflow a buffer and possibly execute arbitrary code on the system or cause the application to crash.
Platforms Affected:
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Canonical, Ubuntu 7.04
- Canonical, Ubuntu 7.10
- Debian, Debian Linux 3.1
- Debian, Debian Linux 4.0
- Gentoo, Linux
- Mandriva, Corporate Server 3.0 X86_64
- Mandriva, Corporate Server 3.0
- Mandriva, Linux 2007 X86_64
- Mandriva, Linux 2007
- Mandriva, Linux 2007.1 X86_64
- Mandriva, Linux 2007.1
- Mandriva, Linux 2008.0 X86_64
- Mandriva, Linux 2008.0
- SDL_image, SDL_image 1.2.6 and prior
Remedy:
Upgrade to the latest version of SDL_Image (1.2.7 or later), available from the SDL_Image Web site. See References.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Wed Jan 23 2008 - 02:20:30 CST , SDL_Image 1.2.6 and prior GIF handling buffer overflow at http://archives.neohapsis.com/archives/bugtraq/2008-01/0333.html.
- SDL_Image Web site, SDL_Image at http://www.libsdl.org/projects/SDL_image/.
- BID-27435: SDL_image IFF ILBM File Remote Buffer Overflow Vulnerability
- CVE-2008-0544: Heap-based buffer overflow in the IMG_LoadLBM_RW function in IMG_lbm.c in SDL_image before 1.2.7 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted IFF ILBM file. NOTE: some of these details are obtained from third party information.
- DSA-1493: sdl-image1.2 -- buffer overflows
- FrSIRT/ADV-2008-0266: SDL_image LWZReadByte() and IMG_LoadLBM_RW() Buffer Overflows
- GLSA-200802-01: SDL_image: Two buffer overflow vulnerabilities
- MDVSA-2008:040: Updated SDL_image packages fix vulnerabilities
- SA28640: SDL_image Two Buffer Overflow Vulnerabilities
- USN-595-1: SDL_image vulnerabilities
Reported:
Jan 23, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
