9.3
HIGH CVSS 2.0
CVE-2004-2687
Apple XCode distcc Remote Code Execution Vulnerability
Description

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.

INFO

Published Date :

Dec. 31, 2004, 5 a.m.

Last Modified :

June 16, 2026, 10:10 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2004-2687 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Samba samba
1 Apple xcode
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
Solution
The distcc package is vulnerable to remote code execution.
  • Update the affected distcc package.
  • Consider restricting access to the server port.
Public PoC/Exploit Available at Github

CVE-2004-2687 has a 93 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2004-2687 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2004-2687 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Linux Server Penetration Testing ReportTarget: Metasploitable 2 (Vulnerable Lab Environment)Prepared By: MD ZIHAD, Date: 20/07/2026

Updated: 1 week ago
0 stars 0 fork 0 watcher
Born at : July 20, 2026, 5:13 a.m. This repo has been linked 2 different CVEs too.

Hands-on cybersecurity lab reports — VAPT, network scanning, and web app testing

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : July 18, 2026, 7:33 p.m. This repo has been linked 2 different CVEs too.

Cybersecurity capstone project: security assessment of two legacy systems (Kioptrix, Metasploitable 2) for a simulated healthcare client. CVE-verified findings, risk assessment, and GRC policy recommendations — no exploitation performed..

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : July 18, 2026, 1:55 a.m. This repo has been linked 6 different CVEs too.

None

Shell Dockerfile Python

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : July 17, 2026, 5:35 a.m. This repo has been linked 8 different CVEs too.

None

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : July 17, 2026, 4:07 a.m. This repo has been linked 1 different CVEs too.

Nessus Vulnerability Assessment project demonstrating CVE analysis, CVSS risk scoring, vulnerability management, and remediation planning.

cve cvss cybersecurity metasploitable nessus portfolio risk-assessment soc vulnerability-assessment vulnerability-management

Python HTML

Updated: 1 week, 1 day ago
1 stars 0 fork 0 watcher
Born at : July 16, 2026, 8:43 a.m. This repo has been linked 5 different CVEs too.

An end-to-end incident response (IR) lifecycle investigation of a compromised legacy server, featuring live vulnerability verification, false-positive rejection, containment via iptables, and system hardening.

bash cybersecurity false-positive incident-response iptables security-analyst system-hardening vulnerability-assessment

Shell

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : July 12, 2026, 6:48 a.m. This repo has been linked 2 different CVEs too.

Home lab project exploiting Metasploitable2 vulnerabilities via Kali Linux and Metasploit, with findings mapped to NIST CSF 2.0, ISO/IEC 27001:2022, and CIS Controls v8 into a full GRC risk register.

Updated: 2 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : July 11, 2026, 8:38 a.m. This repo has been linked 4 different CVEs too.

None

Shell

Updated: 3 weeks, 4 days ago
1 stars 0 fork 0 watcher
Born at : July 1, 2026, 3:02 p.m. This repo has been linked 4 different CVEs too.

None

Updated: 3 weeks, 4 days ago
0 stars 0 fork 0 watcher
Born at : July 1, 2026, 10:35 a.m. This repo has been linked 4 different CVEs too.

My Projects

Updated: 3 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : June 29, 2026, 12:50 p.m. This repo has been linked 5 different CVEs too.

Offensive to Defensive Security Lab — Attack Simulation, Hardening & SOC Automation

Updated: 4 weeks ago
0 stars 0 fork 0 watcher
Born at : June 28, 2026, 4:11 p.m. This repo has been linked 2 different CVEs too.

None

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : June 26, 2026, 2:56 p.m. This repo has been linked 3 different CVEs too.

Automated SSH log analysis,sample osint and nmap test for educational purpose.

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : June 22, 2026, 11:48 a.m. This repo has been linked 4 different CVEs too.

Automated web vulnerability assessment using OpenVAS on Kali Linux, scanning Metasploitable 2 to identify and prioritize CVE-based security risks.

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : June 22, 2026, 3:06 a.m. This repo has been linked 8 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2004-2687 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2004-2687 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Jun. 16, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'n/a', 'product': 'n/a', 'versions': [{'status': 'affected', 'version': 'n/a'}]}]
  • by [email protected]

    Apr. 16, 2026

    Action Type Old Value New Value
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 20, 2024

    Action Type Old Value New Value
    Added Reference http://archives.neohapsis.com/archives/bugtraq/2005-03/0183.html
    Added Reference http://distcc.samba.org/security.html
    Added Reference http://lists.samba.org/archive/distcc/2004q3/002550.html
    Added Reference http://lists.samba.org/archive/distcc/2004q3/002562.html
    Added Reference http://www.metasploit.org/projects/Framework/exploits.html#distcc_exec
    Added Reference http://www.osvdb.org/13378
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Sep. 24, 2007

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.