# CVE-2004-2687 — Apple Xcode 1.5

> As of 2024-09-16, CVE-2004-2687 is a vulnerability in Apple Xcode 1.5, EPSS 80.9% (99.5th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2004-2687, most recently “VEXAIoT: Autonomous Multi-Agent LLM Framework Automates End-to-End IoT Vulnerability Discovery and Exploitation (95% Success Rate)”.

**Last updated:** 2024-09-16

## 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.

The record classifies CVE-2004-2687 under weakness class [CWE-16](https://cwe.mitre.org/data/definitions/16.html). 2 affected-product entries are recorded, across 2 vendors, listed below. The identifier was first published 6940 days ago.

## Severity and exploitation probability

- **CVSS v2.0 base score:** 9.3 (`AV:N/AC:M/Au:N/C:C/I:C/A:C`)
- **EPSS (FIRST):** 80.9% probability of exploitation in the next 30 days, higher than 99.5% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 6.5/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2007-09-23, last modified 2024-09-16

## Is CVE-2004-2687 being exploited?

Weaponised exploit code for CVE-2004-2687 is publicly available. 5 public proof-of-concept repositories are tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (`network/cves/2004/CVE-2004-2687.yaml`).

- [h3x0v3rl0rd/distccd_rce_CVE-2004-2687](https://github.com/h3x0v3rl0rd/distccd_rce_CVE-2004-2687) (github)
- [k4miyo/CVE-2004-2687](https://github.com/k4miyo/CVE-2004-2687) (github)
- [nulltrace1336/Metasploitable-2-Distcc-Exploit-via-Kali-Linux-CVE-2004-2687](https://github.com/nulltrace1336/Metasploitable-2-Distcc-Exploit-via-Kali-Linux-CVE-2004-2687) (github)
- [micheaol/distccd_rce_CVE-2004-2687](https://github.com/micheaol/distccd_rce_CVE-2004-2687) (github)
- [trickest/cve](https://github.com/trickest/cve/blob/main/2004/CVE-2004-2687.md) (trickest)

## Affected products and versions

- **Apple**: Xcode 1.5
- **Samba**: Samba

## How to fix CVE-2004-2687

No vendor patch reference has been recorded for CVE-2004-2687 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2004-2687

1 tracked threat in the Threadlinqs corpus references CVE-2004-2687, either in the campaign’s CVE list or as an indicator on the campaign record.

- [VEXAIoT: Autonomous Multi-Agent LLM Framework Automates End-to-End IoT Vulnerability Discovery and Exploitation (95% Success Rate)](https://intel.threadlinqs.com/threat/TL-2026-1261) — MEDIUM · 2026-07-13

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories, ProjectDiscovery Nuclei. Last verified by Threadlinqs on 2026-07-13. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [distcc.samba.org](http://distcc.samba.org/security.html)

**Vulnerability database entry**

- [osvdb.org — vdb entry](http://www.osvdb.org/13378)

**Mailing list and disclosure**

- [archives.neohapsis.com — mailing list](http://archives.neohapsis.com/archives/bugtraq/2005-03/0183.html)
- [lists.samba.org — mailing list](http://lists.samba.org/archive/distcc/2004q3/002562.html)
- [lists.samba.org — mailing list (002550)](http://lists.samba.org/archive/distcc/2004q3/002550.html)

**Other references**

- [metasploit.org](http://www.metasploit.org/projects/Framework/exploits.html#distcc_exec)

Canonical: https://intel.threadlinqs.com/cve/CVE-2004-2687
Full detection coverage and IOCs for threats exploiting CVE-2004-2687 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
