CVE-2004-2687Xcode Vulnerability
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.
Published Dec 31, 2004 · Updated Oct 21, 2026 · Also known as DEBIAN-CVE-2004-2687
Key Facts
Patch immediately- CVE-2004-2687 is a critical-severity vulnerability (CVSS 9.3 v2) affecting Xcode (Apple), Samba, distcc (debian).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 88% probability of exploitation in the next 30 days.
- Fixed versions are available, including distcc 2.18.1-1, Samba 2.18.3.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v2
9.3
AV:N/AC:M/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
88%
Higher than 99.7% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
67/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
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.
Affected Products
13 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| XcodeApple | 1.5 | n/a |
| SambaSamba | See advisory | 2.18.3 |
| distccdebian | See advisory | 2.18.1-1 |
Patched Releases
distcc
2.18.1-1
Samba
2.18.3
Timeline
Publicly disclosed
Dec 31, 2004
Last updated
Oct 21, 2026
Weakness Type
- CWE-16
References
- advisorysecurity-tracker.debian.org · CVE-2004-2687
- exploitMSF distcc_exec.rb
- exploitExploitDB-9915
- exploitmetasploit.org · exploits.html
- otherNuclei template: Distccd v1 - Remote Code Execution
FAQ
Common Questions.
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.
Affected: Xcode (Apple) versions 1.5; Samba; distcc (debian). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including distcc 2.18.1-1, Samba 2.18.3.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2004-2687 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo