Skip to content
Fencer Intel
high 7.9

CVE-2012-0870 json

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…

published 2012-02-23 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0895

cvss
7.9
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
6.4%
EPSS 6.4% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

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.

Patch / fix

  • samba Debian 14, Debian 13, Debian 12 2:3.4.0~pre1-1

debian advisories DEBIAN-CVE-2012-0870

  • samba RHEL 4 3.0.33-0.35.el4
  • samba RHEL 5 3.0.33-3.38.el5_8
  • samba-swat RHEL 4 3.0.33-0.35.el4
  • samba-swat RHEL 5 3.0.33-3.38.el5_8
  • libsmbclient RHEL 5 3.0.33-3.38.el5_8
  • samba-client RHEL 4 3.0.33-0.35.el4
  • samba-client RHEL 5 3.0.33-3.38.el5_8
  • samba RHEL 5.3 MISSION_CRITICAL 3.0.33-3.7.el5_3.4

red hat advisories RHSA-2012:0332

  • samba openSUSE Tumbleweed 4.5.0-1.1

opensuse advisories openSUSE-SU-2024:10069-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-0870 updated cvss 8.3

samba: Any Batched ("AndX") request processing infinite recursion and heap-based buffer overflow

  • Red Hat Enterprise Linux (v. 5 server) samba 3.0.33-3.38.el5_8, samba-swat 3.0.33-3.38.el5_8, libsmbclient 3.0.33-3.38.el5_8, samba-client 3.0.33-3.38.el5_8, samba-common 3.0.33-3.38.el5_8 Red Hat Enterprise Linux AS version 4 samba 3.0.33-0.35.el4, samba-swat 3.0.33-0.35.el4, samba-client 3.0.33-0.35.el4, samba-common 3.0.33-0.35.el4 Red Hat Enterprise Linux Desktop (v. 5 client) samba 3.0.33-3.38.el5_8, samba-swat 3.0.33-3.38.el5_8, libsmbclient 3.0.33-3.38.el5_8, samba-client 3.0.33-3.38.el5_8, samba-common 3.0.33-3.38.el5_8 Red Hat Enterprise Linux Desktop version 4 samba 3.0.33-0.35.el4, samba-swat 3.0.33-0.35.el4, samba-client 3.0.33-0.35.el4, samba-common 3.0.33-0.35.el4 Red Hat Enterprise Linux ES version 4 samba 3.0.33-0.35.el4, samba-swat 3.0.33-0.35.el4, samba-client 3.0.33-0.35.el4, samba-common 3.0.33-0.35.el4 Red Hat Enterprise Linux EUS (v. 5.6 server) samba 3.0.33-3.29.el5_6.4, samba-swat 3.0.33-3.29.el5_6.4, libsmbclient 3.0.33-3.29.el5_6.4, samba-client 3.0.33-3.29.el5_6.4, samba-common 3.0.33-3.29.el5_6.4
    +3 more products
    Red Hat Enterprise Linux Long Life (v. 5.3 server) samba 3.0.33-3.7.el5_3.4, samba-swat 3.0.33-3.7.el5_3.4, samba-client 3.0.33-3.7.el5_3.4, samba-common 3.0.33-3.7.el5_3.4 Red Hat Enterprise Linux WS version 4 samba 3.0.33-0.35.el4, samba-swat 3.0.33-0.35.el4, samba-client 3.0.33-0.35.el4, samba-common 3.0.33-0.35.el4 Red Hat RHEL Desktop Workstation (v. 5 client) samba 3.0.33-3.38.el5_8
    fixed: vendor fix RHSA-2012:0332
  • Red Hat Enterprise Linux 5 samba3x Red Hat Enterprise Linux 6 samba, samba4, samba4-dc, samba-swat, samba4-libs, samba4-pidl, +17 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

6.42% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 7.9 AV:A/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.