CVE-2013-4408: Heap-based buffer overflow in the dcerpc_read_ncacn_packet_done function in librpc/rpc/dcerpc_util.c in winbindd in Samba 3.x before 3.6.22…
Noroxi assessment
Priority: Monitor (action score 34/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.7% (FIRST EPSS); higher than 86.4% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: samba (Debian:12) 2:4.0.13+dfsg-1; samba (Debian:6.0) 2:3.5.6~dfsg-3squeeze11; samba (Debian:7) 2:3.6.6-6+deb7u2.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to samba (Debian:12) 2:4.0.13+dfsg-1; samba (Debian:6.0) 2:3.5.6~dfsg-3squeeze11; samba (Debian:7) 2:3.6.6-6+deb7u2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Heap-based buffer overflow in the dcerpc_read_ncacn_packet_done function in librpc/rpc/dcerpc_util.c in winbindd in Samba 3.x before 3.6.22, 4.0.x before 4.0.13, and 4.1.x before 4.1.3 allows remote AD domain controllers to execute arbitrary code via an invalid fragment length in a DCE-RPC packet.
- Published
- Dec 10, 2013
- Updated
- Jun 16, 2026
- EPSS
- 2.7% · 86th percentile
- CWE
- CWE-119
Report tools
Action score
34
Low priority for now.
- CVSS
- 33 / 40 · 8.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- samba samba3.0.0
- samba samba3.0.1
- samba samba3.0.10
- samba samba3.0.11
- samba samba3.0.12
- samba samba3.0.13
- samba samba3.0.14
- samba samba3.0.14a
+12 more rows
- samba samba3.0.15
- samba samba3.0.16
- samba samba3.0.17
- samba samba3.0.18
- samba samba3.0.19
- samba samba3.0.2
- samba samba3.0.20
- samba samba3.0.20a
- samba samba3.0.20b
- samba samba3.0.21
- samba samba3.0.21a
- samba samba3.0.21b
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | samba | before 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 |
| Debian:6.0 | samba | before 2:3.5.6~dfsg-3squeeze11 | 2:3.5.6~dfsg-3squeeze11 |
| Debian:7 | samba | before 2:3.6.6-6+deb7u2 | 2:3.6.6-6+deb7u2 |
| Red Hat:enterprise_linux:5::client | samba3x | before 0:3.6.6-0.138.el5_10 | 0:3.6.6-0.138.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-client | before 0:3.6.6-0.138.el5_10 | 0:3.6.6-0.138.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-common | before 0:3.6.6-0.138.el5_10 | 0:3.6.6-0.138.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-debuginfo | before 0:3.6.6-0.138.el5_10 | 0:3.6.6-0.138.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-doc | before 0:3.6.6-0.138.el5_10 | 0:3.6.6-0.138.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-domainjoin-gui | before 0:3.6.6-0.138.el5_10 | 0:3.6.6-0.138.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-swat | before 0:3.6.6-0.138.el5_10 | 0:3.6.6-0.138.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-winbind | before 0:3.6.6-0.138.el5_10 | 0:3.6.6-0.138.el5_10 |
| Red Hat:enterprise_linux:5::client_workstation | samba3x-winbind-devel | before 0:3.6.6-0.138.el5_10 | 0:3.6.6-0.138.el5_10 |
| Red Hat:enterprise_linux:6::client | libsmbclient | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | libsmbclient-devel | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-client | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-common | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-debuginfo | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-doc | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-domainjoin-gui | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-swat | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-winbind | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-winbind-clients | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-winbind-devel | before 0:3.6.9-167.el6_5 | 0:3.6.9-167.el6_5 |
+30
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious…KEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x…66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1…66This week
Published before and after this one in the same product
- ← EarlierCVE-2013-4476Nov 13, 2013 · Samba 4.0.x before 4.0.11 and 4.1.x before 4.1.1, when LDAP or HTTP is provided over SSL, uses world-readable permissions for a private…4Monitor
- ← EarlierCVE-2012-6150Dec 3, 2013 · The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind.c in Samba through 4.1.2 handles invalid require_membership_of…15Monitor
- Later →CVE-2013-4496Mar 14, 2014 · Samba 3.x before 3.6.23, 4.0.x before 4.0.16, and 4.1.x before 4.1.6 does not enforce the password-guessing protection mechanism for all…23Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:samba | 2:4.0.13+dfsg-1 · Debian:12 | Package registry (OSV) |
| red hat:samba4 | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-client | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-common | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-dc | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-dc-libs | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-debuginfo | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-devel | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-libs | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-pidl | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-python | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-swat | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba4-test | 0:4.0.0-60.el6_5.rc4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-20-881 · Oct 22, 2020(Samba Güvenlik Güncellemeleri Yayınladı)
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:A/AC:L/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (17 more)Show less
- lists.fedoraproject.org/pipermail/package-announce/2014-June/134717.html
- lists.opensuse.org/opensuse-security-announce/2014-01/msg00002.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html
- lists.opensuse.org/opensuse-updates/2013-12/msg00088.html
- lists.opensuse.org/opensuse-updates/2014-03/msg00063.html
- marc.info/?l=bugtraq&m=141660010015249&w=2
- rhn.redhat.com/errata/RHSA-2013-1805.html
- rhn.redhat.com/errata/RHSA-2013-1806.html
- rhn.redhat.com/errata/RHSA-2014-0009.html
- security.gentoo.org/glsa/glsa-201502-15.xml
- www.debian.org/security/2013/dsa-2812
- www.mandriva.com/security/advisories?name=MDVSA-2013:299
- www.samba.org/samba/ftp/patches/security/samba-4.1.2-CVE-2013-4408-CVE-2012-6150.patch
- www.samba.org/samba/security/CVE-2013-4408
- www.securityfocus.com/bid/64191
- www.ubuntu.com/usn/USN-2054-1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.