BreachSpiderVerified, not vibes

CVE-2004-2687 in Apple Xcode and 1 more product

Critical 9.3 Public exploit reported

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.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 2.09.3
EPSS87.4%
EPSS percentile100th
FixUnknown

Remotely exploitable over the network.

Affected products and versions

VendorProductAffected versions
Apple Xcode 1.5
Samba Samba ≤ 2.18.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2004-2687
BreachSpider IDBS-2004-GLOBAL-174128-C
CVSS vectorAV:N/AC:M/Au:N/C:C/I:C/A:C
Published2004-12-31
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-16: CWE-16

Analysis AI-written, not human-reviewed

CVE-2004-2687 affects distcc 2.x versions used in XCode 1.5 and other applications, allowing remote attackers to execute arbitrary commands if the server port is not restricted.

The vulnerability arises from distcc's default configuration, which does not restrict access to the server port. Attackers can send malicious compilation jobs to the server, which are executed without proper authorization checks, leading to arbitrary command execution.

Questions

What is CVE-2004-2687?

CVE-2004-2687 affects distcc 2.x versions used in XCode 1.5 and other applications, allowing remote attackers to execute arbitrary commands if the server port is not restricted.

What is the CVSS score for CVE-2004-2687?

CVE-2004-2687 has CVSS 9.3 (Critical). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. EPSS: 87.4%.

Is CVE-2004-2687 actively exploited?

Public exploit available for CVE-2004-2687. Exploitation risk elevated.

How do I remediate CVE-2004-2687?

Priority: IMMEDIATE.

What systems are affected by CVE-2004-2687?

CVE-2004-2687 affects Apple Xcode; Samba Samba.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Xcode","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.