ImageMagick DCM and XWD Buffer Overflows
Secunia Advisory: SA24721
Release Date: 2007-04-03
Popularity: 7,217 views

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

Software:ImageMagick 6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-1797


Description:
Some vulnerabilities have been reported in ImageMagick, which can be exploited by malicious people to compromise a vulnerable system.

1) A integer overflow error within the "ReadDCMImage()" function can be exploited to cause a heap-based buffer overflow when processing specially crafted DCM images.

This may be related to vulnerability #1 of:
SA22572

2) Two integer overflows within the "ReadXWDImage()" function when calculating the amount of memory to be allocated for the 'colors' or 'comment' fields can be exploited to cause heap-based buffer overflows when processing specially crafted XWD images.

The vulnerabilities are reported in version 6.3.x. The source code for versions 6.3.1, 6.3.2, 6.3.3-3 and 6.2.9 reportedly contain the vulnerable code. Other versions may also be affected.

Solution:
Update to version 6.3.3-5.

Provided and/or discovered by:
Discovered by an anonymous person and reported via iDefense Labs.

Changelog:
2007-04-03: Added CVE reference.

Original Advisory:
iDefense Labs:
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=496

Other References:
SA22572:
http://secunia.com/advisories/22572


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. Microsoft Word Malformed Object Pointer Vulnerability // 47 views
2. Zeroboard Two Vulnerabilities // 41 views
3. Apple QuickTime Multiple Vulnerabilities // 39 views
4. Subdreamer Light Global Variables SQL Injection Vulnerability // 38 views
5. Opera Multiple Vulnerabilities // 35 views
6. Internet Explorer DHTML Edit ActiveX Control Cross-Site Scripting // 31 views
7. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 30 views
8. Adobe Flash Player Multiple Vulnerabilities // 26 views
9. Zeroboard Multiple Script Insertion Vulnerabilities // 25 views
10. Zeroboard Multiple Vulnerabilities // 25 views