Home / Samba / Samba / CVE-2004-0686
CVE-2004-0686: is it exploited, and which versions of Samba are affected and fixed?
CVE-2004-0686 is a vulnerability in Samba. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: samba from 2.2.0 before 2.2.10, samba from 3.0.0 before 3.0.5, secure linux 1.5 and 2 more (NVD). Fixed in 2.2.10 and 3.0.5 (NVD). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:55 UTC.
What is CVE-2004-0686?
Buffer overflow in Samba 2.2.x to 2.2.9, and 3.0.0 to 3.0.4, when the "mangling method = hash" option is enabled in smb.conf, has unknown impact and attack vectors.
From the CVE record by mitre, last updated August 8, 2024, 00:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| samba | samba | from 2.2.0 before 2.2.10 | application |
| samba | samba | from 3.0.0 before 3.0.5 | application |
| trustix | secure linux | 1.5 | operating system |
| trustix | secure linux | 2.0 | operating system |
| trustix | secure linux | 2.1 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:06 UTC.
How severe is CVE-2004-0686?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-0686 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.67% probability of exploitation activity in the next 30 days, percentile 89.9 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- 2004-0039 vendor-advisory, x_refsource_TRUSTIX
- CLA-2004:851 vendor-advisory, x_refsource_CONECTIVA
- RHSA-2004:259 vendor-advisory, x_refsource_REDHAT
- 20040722 TSSA-2004-014 - samba mailing-list, x_refsource_BUGTRAQ
- CLA-2004:854 vendor-advisory, x_refsource_CONECTIVA
- 20040722 [OpenPKG-SA-2004.033] OpenPKG Security Advisory (samba) mailing-list, x_refsource_BUGTRAQ
- SUSE-SA:2004:022 vendor-advisory, x_refsource_SUSE
- 20040722 Security Release - Samba 3.0.5 and 2.2.10 mailing-list, x_refsource_BUGTRAQ
- MDKSA-2004:071 vendor-advisory, x_refsource_MANDRAKE
- FLSA:2102 vendor-advisory, x_refsource_FEDORA
- samba-mangling-method-bo(16786) vdb-entry, x_refsource_XF
- SSRT4782 vendor-advisory, x_refsource_HP
- GLSA-200407-21 vendor-advisory, x_refsource_GENTOO
- 57664 vendor-advisory, x_refsource_SUNALERT
- 101584 vendor-advisory, x_refsource_SUNALERT
- oval:org.mitre.oval:def:10461 vdb-entry, signature, x_refsource_OVAL
When was it published, and where is the official record?
- Reserved
- July 13, 2004
- Published
- July 23, 2004, 04:00 UTC
- CVE record updated
- August 8, 2024, 00:24 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:06 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:55 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Samba?
- May 30, 2017CVE-2017-7494 samba: code injection (remote code execution) exploited
- Dec 1, 2026CVE-2026-135111 Samba: resource not released after use
- Nov 30, 2026CVE-2026-125628 Samba: type confusion
- Nov 27, 2026CVE-2026-125633 Samba: type confusion
- Nov 27, 2026CVE-2026-125627 Samba: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-135107 Samba: memory Allocation with Excessive Size Value
- Nov 25, 2026CVE-2026-125634 Samba: NULL pointer dereference (crash)
- Oct 28, 2026CVE-2026-109411 Samba: improper Handling of Case Sensitivity
Questions about CVE-2004-0686
Is CVE-2004-0686 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 3.67% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Samba are affected by CVE-2004-0686?
samba from 2.2.0 before 2.2.10, samba from 3.0.0 before 3.0.5, secure linux 1.5, secure linux 2.0 and secure linux 2.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-0686?
2.2.10 and 3.0.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2004-0686?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-0686?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.