ImageMagick PNM Image Decoding Buffer Overflow Vulnerability
Secunia Advisory: SA15124
Release Date: 2005-04-27
Last Update: 2005-05-26
Popularity: 9,023 views

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

Software:ImageMagick 6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-1275


Description:
Damian Put has reported a vulnerability in ImageMagick, which can be exploited by malicious people to cause a DoS (Denial of Service) or potentially compromise a user's system.

The vulnerability is caused due to a boundary error in the "ReadPNMImage()" function when decoding PNM image files. This can be exploited to cause a heap-based buffer overflow by e.g. tricking a user into viewing a specially crafted PNM image.

Successful exploitation may allow execution of arbitrary code.

The vulnerability has been reported in versions 6.x up to and including 6.2.1.

Solution:
Update to version 6.2.2.
http://www.imagemagick.org/script/download.php

Provided and/or discovered by:
Damian Put

Changelog:
2005-05-02: Added CVE reference.
2005-05-26: Updated information about system compromise impact based on Red Hat advisory.

Original Advisory:
Damian Put:
http://www.overflow.pl/adv/imheapoverflow.txt

Other References:
Red Hat:
http://rhn.redhat.com/errata/RHSA-2005-413.html


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. phpBB "gen_rand_string()" Predictable RNG Weakness // 93 views
2. VLC Media Player Multiple Vulnerabilities // 42 views
3. Adobe Flash Player Multiple Vulnerabilities // 41 views
4. Linux Kernel "listxattr" Memory Corruption and CHRP Denial of Service // 34 views
5. Microsoft Word Malformed Object Pointer Vulnerability // 33 views
6. Avactis Shopping Cart "checkout.php" Cross-Site Scripting // 29 views
7. Microsoft Office Two Code Execution Vulnerabilities // 29 views
8. Simple Machines Forum Password Reset Vulnerability // 26 views
9. libpng "png_push_read_zTXt()" Off-By-One Vulnerability // 25 views
10. Opera Multiple Vulnerabilities // 23 views