Secunia Logo
Netsikker nu! 2008
 
imlib2 PNM and XPM Buffer Overflow Vulnerabilities
Secunia Advisory: SA30401
Release Date: 2008-05-29
Popularity: 2,785 views

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

Software:imlib2 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-2426


Description:
Secunia Research has discovered two vulnerabilities in imlib2, which can be exploited by malicious people to cause a DoS (Denial of Service) or compromise an application using the library.

1) A boundary error exists within the "load()" function in src/modules/loaders/loader_pnm.c when processing the header of a PNM image file. This can be exploited to cause a stack-based buffer overflow by e.g. tricking a user into opening a specially crafted PNM image in an application using the imlib2 library.

Successful exploitation allows execution of arbitrary code.

2) A boundary error exists within the "load()" function in src/modules/loader_xpm.c when processing an XPM image file. This can be exploited to cause a stack-based buffer overflow by e.g. tricking a user into opening a specially crafted XPM image in an application using the imlib2 library.

Successful exploitation may allow execution of arbitrary code.

The vulnerabilities are confirmed in version 1.4.0. Other versions may also be affected.

Solution:
Fixed in the CVS repository.

Provided and/or discovered by:
Stefan Cornelius, Secunia Research.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2008-25/


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

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. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 33 views
2. CA ARCserve Backup Multiple Vulnerabilities // 27 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 25 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 25 views
5. CUPS Multiple Vulnerabilities // 22 views
6. Red Hat update for cups // 21 views
7. Built2go Real Estate Listings "event_id" SQL Injection // 20 views
8. Gentoo Portage Insecure Python Module Search Path Security Issue // 20 views
9. FUJITSU Interstage Products Apache Tomcat Security Bypass // 19 views
10. Subdreamer Light Global Variables SQL Injection Vulnerability // 18 views