Cairo read_png function buffer overflow
| cairo-readpng-bo (38771) |
Description:
Cairo is vulnerable to a heap-based buffer overflow, caused by an integer overflow in the read_png function. By persuading a victim to open a specially-crafted PNG file, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the affected application to crash.
Platforms Affected:
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Canonical, Ubuntu 7.04
- Canonical, Ubuntu 7.10
- Cario, Cario prior to 1.4.12
- Debian, Debian Linux 4.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 2007 X86_64
- MandrakeSoft, Mandrake Linux 2007
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux 2008.0 X86_64
- MandrakeSoft, Mandrake Linux 2008.0
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Client
- RedHat, Enterprise Linux 5 Client Workstation
Remedy:
Upgrade to the latest version of Cairo (1.4.12 or later), available from the Cairo Web site. See References.
Consequences:
Gain Access
References:
- Cairo Web site, cairo 1.4.12 release available at http://cairographics.org/news/cairo-1.4.12/.
- Red Hat Bugzilla Bug 387431, CVE-2007-5503 cairo integer overflow at https://bugzilla.redhat.com/show_bug.cgi?id=387431.
- BID-26650: Cairo PNG Image Processing Remote Integer Overflow Vulnerability
- CVE-2007-5503: Multiple integer overflows in Cairo before 1.4.12 might allow remote attackers to execute arbitrary code, as demonstrated using a crafted PNG image with large width and height values, which is not properly handled by the read_png function.
- DSA-1542: libcairo -- integer overflow
- GLSA-200712-04: Cairo: User-assisted execution of arbitrary code
- GLSA-200712-24: AMD64 x86 emulation GTK+ library: User-assisted execution of arbitrary code
- MDVSA-2008:019: Updated cairo packages fix vulnerability
- RHSA-2007-1078: Important: cairo security update
- SA27880: Cairo PNG Image Processing Integer Overflow
- SA31707: VMware Workstation Multiple Vulnerabilities
- SA31711: VMware Fusion Multiple Vulnerabilities
- SECTRACK ID: 1019027: Cairo Integer Overflow in Processing PNG Files Lets Remote Users Execute Arbitrary Code
- SUSE-SR:2008:003: SUSE Security Summary Report
- USN-550-1: Cairo vulnerability
- USN-550-2: Cairo regression
- USN-550-3: Cairo regression
- VUPEN/ADV-2007-4045: Cairo read_png() PNG Image Processing Integer Overflow Vulnerability
- VUPEN/ADV-2008-2466: VMware Products Code Execution and Security Bypass Vulnerabilities
Reported:
Nov 29, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
