Apple Mac OS X up to 10.4 XFree86 parse.c xpmParseColors memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Apple Mac OS X up to 10.4. Affected is the function xpmParseColors in the library libXpm of the file parse.c of the component XFree86. The manipulation leads to memory corruption. This vulnerability is documented as CVE-2004-0687. The attack can be initiated remotely. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Apple Mac OS X up to 10.4 (Operating System). This issue affects the function xpmParseColors in the library libXpm of the file parse.c of the component XFree86. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Multiple stack-based buffer overflows in (1) xpmParseColors in parse.c, (2) ParseAndPutPixels in create.c, and (3) ParsePixels in parse.c for libXpm before 6.8.1 allow remote attackers to execute arbitrary code via a malformed XPM image file.

The weakness was released 05/04/2005 by Chris Evans with Google Chrome Security Team (Website). It is possible to read the advisory at docs.info.apple.com. The identification of this vulnerability is CVE-2004-0687 since 07/13/2004. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.

It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 18189 (Mac OS X Multiple Vulnerabilities (Security Update 2005-005)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family MacOS X Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 95006 (Sun Solaris libXpm Multiple Stack-Based Buffer Overflow Vulnerabilities).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at apple.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (17414), Tenable (18189), SecurityFocus (BID 11196†), OSVDB (10027†) and Secunia (SA15227†). Entries connected to this vulnerability are available at VDB-1453, VDB-1443, VDB-1452 and VDB-1448. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Support

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 18189
Nessus Name: Mac OS X Multiple Vulnerabilities (Security Update 2005-005)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 53250
OpenVAS Name: Debian Security Advisory DSA 560-1 (lesstif1-1)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
Exposure Time: 🔍

Patch: apple.com

Timelineinfo

07/13/2004 🔍
09/15/2004 +64 days 🔍
10/20/2004 +35 days 🔍
10/20/2004 +0 days 🔍
04/11/2005 +173 days 🔍
05/03/2005 +22 days 🔍
05/04/2005 +1 days 🔍
05/04/2005 +0 days 🔍
05/24/2005 +20 days 🔍
06/09/2005 +16 days 🔍
01/19/2025 +7164 days 🔍

Sourcesinfo

Vendor: apple.com

Advisory: docs.info.apple.com
Researcher: Chris Evans
Organization: Google Chrome Security Team
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2004-0687 (🔍)
GCVE (CVE): GCVE-0-2004-0687
GCVE (VulDB): GCVE-100-1451

OVAL: 🔍

CERT: 🔍
X-Force: 17414 - libXpm XPM image multiple buffer overflows, High Risk
SecurityFocus: 11196 - libXpm Image Decoding Multiple Remote Buffer Overflow Vulnerabilities
Secunia: 15227 - Mac OS X Security Update Fixes Multiple Vulnerabilities, Highly Critical
OSVDB: 10027 - libXpm ParsePixels Function Stack Overflow
Vulnerability Center: 7534 - Multiple Buffer Overflows in libXpm Version < 6.8.1, Medium
Vupen: ADV-2006-1914

scip Labs: https://www.scip.ch/en/?labs.20150108
See also: 🔍

Entryinfo

Created: 05/24/2005 11:38
Updated: 01/19/2025 03:40
Changes: 05/24/2005 11:38 (100), 07/02/2019 19:04 (3), 01/19/2025 03:40 (18)
Complete: 🔍
Cache ID: 216:627:103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!