Secunia Logo
Netsikker nu! 2008
 
SDL_image Two Buffer Overflow Vulnerabilities
Secunia Advisory: SA28640
Release Date: 2008-01-24
Last Update: 2008-02-04
Popularity: 5,235 views

Critical:
Moderately critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Workaround

Software:SDL_image 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-6697
CVE-2008-0544


Description:
Two vulnerabilities have been reported in SDL_image, which can be exploited by malicious people to cause a DoS (Denial of Service) or potentially compromise an application using the library.

1) A boundary error within the "LWZReadByte()" function in IMG_gif.c can be exploited to trigger the overflow of a static buffer via a specially crafted GIF file.

2) A boundary error within the "IMG_LoadLBM_RW()" function in IMG_lbm.c can be exploited to cause a heap-based buffer overflow via a specially crafted IFF ILBM file.

The vulnerabilities are reported in version 1.2.6. Prior versions may also be affected.

Solution:
Fixed in SVN repository.
http://www.libsdl.org/cgi/viewvc.cgi/...L_image/IMG_gif.c?r1=2970&r2=3462
http://www.libsdl.org/cgi/viewvc.cgi/...L_image/IMG_lbm.c?r1=3341&r2=3521

Provided and/or discovered by:
1) The vendor credits Michael Skladnikiewicz. Also reported by Gynvael Coldwind, Team Vexillium.
2) The vendor credits David Raulo.

Changelog:
2008-02-04: Added CVE references.

Original Advisory:
1) http://www.libsdl.org/cgi/viewvc.cgi/...HANGES?revision=3462&view=markup
http://vexillium.org/?sec-sdlgif
2) http://www.libsdl.org/cgi/viewvc.cgi/...L_image/IMG_lbm.c?r1=3341&r2=3521


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 9
New vulnerabilities: 29
Updated advisories: 10

Highly // 143 views
SUSE update for MozillaFirefox
Moderately // 154 views
Debian update for lighttpd

6th Oct, 2008
New advisories: 19
New vulnerabilities: 52
Updated advisories: 26


Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 129 views
2. SUSE update for MozillaFirefox // 93 views
3. IBM Lotus Quickr Security Issues and Denial of Service // 69 views
4. noName CMS "index.php" SQL Injection Vulnerabilities // 64 views
5. HP-UX NFS/ONCplus Denial of Service Vulnerability // 61 views
6. D-Bus "_dbus_validate_signature_with_reason()" Denial of Service // 55 views
7. iseemedia LPViewer ActiveX Control Multiple Buffer Overflow Vulnerabilities // 53 views
8. Debian update for lighttpd // 49 views
9. Kwalbum "UploaditemsPage.php" File Upload Vulnerability // 46 views
10. Microsoft Windows Vista Page Fault Handling Denial of Service // 44 views