Cairo read_png function buffer overflow

cairo-readpng-bo (38771) The risk level is classified as HighHigh Risk

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.

*CVSS:

Base Score: 6.8
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 5
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Upgrade to the latest version of Cairo (1.4.12 or later), available from the Cairo Web site. See References.

References:

  • Cairo Web site: cairo 1.4.12 release available.
  • Red Hat Bugzilla Bug 387431: CVE-2007-5503 cairo integer overflow.
  • 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

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
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • 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
  • RedHat Enterprise Linux 5.1.z EUS

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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.