Skip to content
Vulnerability Intelligence

CVE-2004-2687

CriticalPublic exploit

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 Aug 4, 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.

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

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2004-2687 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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
ProductAffected versionsFixed in
XcodeApple1.5n/a
SambaSambaSee advisory2.18.3
distccdebianSee advisory2.18.1-1

Patched Releases

distcc

2.18.1-1

Samba

2.18.3

Timeline

  1. Publicly disclosed

    Dec 31, 2004

  2. Last updated

    Aug 4, 2026

Weakness Type

  • CWE-16

References

4 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2004-2687 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo