Home / Apple / Xcode / CVE-2004-2687
CVE-2004-2687: is it exploited, and which versions of Apple Xcode are affected and fixed?
CVE-2004-2687 is a vulnerability in Apple Xcode. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: xcode 1.5 and samba through 2.18.3 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (9.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2004-2687?
distcc 2.x, as used in XCode 1.5 and others, when not configured to restrict access to the server port, allows remote attackers to execute arbitrary commands via compilation jobs, which are executed by the server without authorization checks.
From the CVE record by mitre, last updated September 16, 2024, 18:40 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apple | xcode | 1.5 | application |
| samba | samba | through 2.18.3 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:10 UTC.
How severe is CVE-2004-2687?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-2687 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 88.2% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- 20050310 XCode 1.5 and distcc 2.x Exploit mailing-list, x_refsource_BUGTRAQ
- 13378 vdb-entry, x_refsource_OSVDB
- [distcc] 20040826 Exploit in distcc ( got compromised ;( ) mailing-list, x_refsource_MLIST
- http://www.metasploit.org/projects/Framework/exploits.html#distcc_exec x_refsource_MISC
- http://distcc.samba.org/security.html x_refsource_CONFIRM
- [distcc] 20040826 Exploit in distcc ( got compromised ;( ) mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- September 23, 2007
- Published
- September 23, 2007, 23:00 UTC
- CVE record updated
- September 16, 2024, 18:40 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Xcode?
- Nov 20, 2026CVE-2026-112603 Apple Xcode: privilege escalation (improper privilege management)
- Oct 30, 2026CVE-2026-112605 Apple Xcode: link following (a symlink lets an attacker reach other files)
- Oct 30, 2026CVE-2026-112602 Apple Xcode: improper authorization
- Oct 20, 2026CVE-2026-86948 Apple Xcode: inclusion of code from an untrusted source
- Oct 20, 2026CVE-2026-86949 Apple Xcode: inclusion of code from an untrusted source
- Oct 20, 2026CVE-2026-86874 Apple Xcode: out-of-bounds read
- Oct 20, 2026CVE-2026-86875 Apple Xcode: improper input validation
- Sep 14, 2026CVE-2026-65393 Apple Xcode: incorrect authorization
Questions about CVE-2004-2687
Is CVE-2004-2687 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 88.2% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apple Xcode are affected by CVE-2004-2687?
xcode 1.5 and samba through 2.18.3, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-2687?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2004-2687?
High (9.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-2687?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.