Heap-based buffer overflow in process.c in smbd in Samba 3.0, as used in the file-sharing…
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
Heap-based buffer overflow in process.c in smbd in Samba 3.0, as used in the file-sharing service on the BlackBerry PlayBook tablet before 2.0.0.7971 and other products, allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a Batched (aka AndX) request that triggers infinite recursion.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:3.0.0:*:*:*:*:*:*:* | 3.0.0 | Vulnerable | Samba |
| cpe:2.3:h:rim:blackberry_playbook_tablet:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Rim |
| cpe:2.3:o:rim:blackberry_playbook_os:*:*:*:*:*:*:*:* | up to 2.0 | Vulnerable | Rim |
| cpe:2.3:o:rim:blackberry_playbook_os:1.0:*:*:*:*:*:*:* | 1.0 | Vulnerable | Rim |
| cpe:2.3:o:rim:blackberry_playbook_os:1.0.3:*:*:*:*:*:*:* | 1.0.3 | Vulnerable | Rim |
| cpe:2.3:o:rim:blackberry_playbook_os:1.0.5:*:*:*:*:*:*:* | 1.0.5 | Vulnerable | Rim |
| cpe:2.3:o:rim:blackberry_playbook_os:1.0.6:*:*:*:*:*:*:* | 1.0.6 | Vulnerable | Rim |
| cpe:2.3:o:rim:blackberry_playbook_os:1.0.7:*:*:*:*:*:*:* | 1.0.7 | Vulnerable | Rim |
| cpe:2.3:o:rim:blackberry_playbook_os:1.0.7.2942:*:*:*:*:*:*:* | 1.0.7.2942 | Vulnerable | Rim |
| cpe:2.3:o:rim:blackberry_playbook_os:1.0.7.3312:*:*:*:*:*:*:* | 1.0.7.3312 | Vulnerable | Rim |
- cpe:2.3:a:samba:samba:3.0.0:*:*:*:*:*:*:* Versions 3.0.0 Vulnerable ·Samba
- cpe:2.3:h:rim:blackberry_playbook_tablet:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Rim
- cpe:2.3:o:rim:blackberry_playbook_os:*:*:*:*:*:*:*:* Versions up to 2.0 Vulnerable ·Rim
- cpe:2.3:o:rim:blackberry_playbook_os:1.0:*:*:*:*:*:*:* Versions 1.0 Vulnerable ·Rim
- cpe:2.3:o:rim:blackberry_playbook_os:1.0.3:*:*:*:*:*:*:* Versions 1.0.3 Vulnerable ·Rim
- cpe:2.3:o:rim:blackberry_playbook_os:1.0.5:*:*:*:*:*:*:* Versions 1.0.5 Vulnerable ·Rim
- cpe:2.3:o:rim:blackberry_playbook_os:1.0.6:*:*:*:*:*:*:* Versions 1.0.6 Vulnerable ·Rim
- cpe:2.3:o:rim:blackberry_playbook_os:1.0.7:*:*:*:*:*:*:* Versions 1.0.7 Vulnerable ·Rim
- cpe:2.3:o:rim:blackberry_playbook_os:1.0.7.2942:*:*:*:*:*:*:* Versions 1.0.7.2942 Vulnerable ·Rim
- cpe:2.3:o:rim:blackberry_playbook_os:1.0.7.3312:*:*:*:*:*:*:* Versions 1.0.7.3312 Vulnerable ·Rim
Remediation
Red Hat 1 advisory
- RHSA-2012:0332 Released 2012-02-23 · Red Hat rating Criticalsamba security update
- RHEL Desktop Workstation (v. 5 client) libsmbclient-devel-3.0.33-3.38.el5_8, libsmbclient-devel-3.0.33-3.38.el5_8.i386, samba-3.0.33-3.38.el5_8
- Red Hat Enterprise Linux (v. 5 server) libsmbclient-3.0.33-3.38.el5_8, libsmbclient-3.0.33-3.38.el5_8.i386, libsmbclient-3.0.33-3.38.el5_8.ia64 +21
- Red Hat Enterprise Linux AS version 4 samba-3.0.33-0.35.el4, samba-3.0.33-0.35.el4.i386, samba-3.0.33-0.35.el4.ia64 +13
- Red Hat Enterprise Linux Desktop (v. 5 client) libsmbclient-3.0.33-3.38.el5_8, libsmbclient-3.0.33-3.38.el5_8.i386, samba-3.0.33-3.38.el5_8 +7
- Red Hat Enterprise Linux Desktop version 4 samba-3.0.33-0.35.el4, samba-3.0.33-0.35.el4.i386, samba-client-3.0.33-0.35.el4 +5
- Red Hat Enterprise Linux ES version 4 samba-3.0.33-0.35.el4, samba-3.0.33-0.35.el4.i386, samba-3.0.33-0.35.el4.ia64 +9
- Red Hat Enterprise Linux EUS (v. 5.6 server) libsmbclient-3.0.33-3.29.el5_6.4, libsmbclient-3.0.33-3.29.el5_6.4.i386, libsmbclient-3.0.33-3.29.el5_6.4.ia64 +21
- Red Hat Enterprise Linux Long Life (v. 5.3 server) samba-3.0.33-3.7.el5_3.4, samba-3.0.33-3.7.el5_3.4.i386, samba-3.0.33-3.7.el5_3.4.ia64 +9
- Red Hat Enterprise Linux WS version 4 samba-3.0.33-0.35.el4, samba-3.0.33-0.35.el4.i386, samba-3.0.33-0.35.el4.ia64 +9
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| RHEL Desktop Workstation (v. 5 client) | Fixed | RHSA-2012:0332 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2012:0332 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2012:0332 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2012:0332 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2012:0332 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2012:0332 |
| Red Hat Enterprise Linux EUS (v. 5.6 server) | Fixed | RHSA-2012:0332 |
| Red Hat Enterprise Linux Long Life (v. 5.3 server) | Fixed | RHSA-2012:0332 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2012:0332 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2012-0870
- 2026-10-03 Alias added: GHSA-h6wh-2qjc-xjwm
References
Patch 2
Advisory 6
Sources
- CVE-2012-0870 · CVE Program
- CVE-2012-0870 · NVD
- FIRST EPSS
- GHSA-h6wh-2qjc-xjwm · GitHub Advisory Database · CC BY 4.0
- CVE-2012-0870 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences