[SA21615] ImageMagick XCF and Sun Rasterfile Buffer Overflows

Type securityvulns
Reporter Securityvulns
Modified 2006-08-24T00:00:00


TITLE: ImageMagick XCF and Sun Rasterfile Buffer Overflows


VERIFY ADVISORY: http://secunia.com/advisories/21615/

CRITICAL: Moderately critical

IMPACT: DoS, System access

WHERE: >From remote

SOFTWARE: ImageMagick 6.x http://secunia.com/product/3763/ ImageMagick 5.x http://secunia.com/product/1791/

DESCRIPTION: Tavis Ormandy has reported some vulnerabilities in ImageMagick, which potentially can be exploited by malicious people to compromise a vulnerable system.

1) Boundary errors within the "DecodeBitmap()" function and the "ReadSUNImage()" function in sun.c can be exploited to cause heap-based buffer overflows when processing specially crafted Sun Rasterfile images.

2) Boundary errors within the XCF image decoder can be exploited to cause a stack-based and a heap-based overflow when processing specially crafted XCF image files.

Successful exploitation may allow execution of arbitrary code.

SOLUTION: Update to version 6.2.9-1.

PROVIDED AND/OR DISCOVERED BY: Tavis Ormandy, Google Security Team.

ORIGINAL ADVISORY: http://bugs.gentoo.org/show_bug.cgi?id=144854

About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities.

Subscribe: http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/

Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor.