Skip to content
Emerging threatsCritical

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

    Oct 21, 2026

Weakness Type

  • CWE-16

FAQ

Common Questions.

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

Figures as of Dec 5, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.