{"schemaVersion":3,"id":"CVE-2012-0870","aliases":["RHSA-2012:0332","DEBIAN-CVE-2012-0870"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2012-02-23T11:00:00.000Z","modified":"2024-08-06T18:38:14.979Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:A/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.9,"severity":"high","vector":"AV:A/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.06417,"percentile":0.93636,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.08200000000000013,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.06499},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.06417,"percentile":0.93636}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06499,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06417,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.06417,"percentile":0.93636}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"debian","product":"samba","name":"samba","label":"samba","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/samba","purlType":"deb","versions":[{"text":"< 2:3.4.0~pre1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:3.4.0~pre1-1","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":null},{"vendor":"rim","product":"blackberry_playbook_os","name":"blackberry playbook os","label":"blackberry_playbook_os","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 2.0","noFixRecorded":false,"fixedIn":null},{"text":"1.0","noFixRecorded":false,"fixedIn":null},{"text":"1.0.3","noFixRecorded":false,"fixedIn":null},{"text":"1.0.5","noFixRecorded":false,"fixedIn":null},{"text":"1.0.6","noFixRecorded":false,"fixedIn":null},{"text":"1.0.7","noFixRecorded":false,"fixedIn":null},{"text":"1.0.7.2942","noFixRecorded":false,"fixedIn":null},{"text":"1.0.7.3312","noFixRecorded":false,"fixedIn":null},{"text":"1.0.8.4985","noFixRecorded":false,"fixedIn":null},{"text":"1.0.8.6067","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.0 | 1.0 | 1.0.3 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.7.2942 | 1.0.7.3312 | 1.0.8.4985 | 1.0.8.6067","eol":null,"hubHref":"/vendor/rim/blackberry_playbook_os"},{"vendor":"rim","product":"blackberry_playbook_tablet","name":"blackberry playbook tablet","label":"blackberry_playbook_tablet","ecosystem":null,"cpePart":"h","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/rim/blackberry_playbook_tablet"},{"vendor":"redhat","product":"libsmbclient","name":"libsmbclient","label":"libsmbclient","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libsmbclient","purlType":"rpm","versions":[{"text":"< 0:3.0.33-3.38.el5_8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.29.el5_6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.0.33-3.38.el5_8 | < 0:3.0.33-3.29.el5_6.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"libsmbclient-devel","name":"libsmbclient-devel","label":"libsmbclient-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libsmbclient-devel","purlType":"rpm","versions":[{"text":"< 0:3.0.33-3.38.el5_8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.29.el5_6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.0.33-3.38.el5_8 | < 0:3.0.33-3.29.el5_6.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"samba","name":"samba","label":"samba","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/samba","purlType":"rpm","versions":[{"text":"< 0:3.0.33-0.35.el4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.38.el5_8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.7.el5_3.4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.29.el5_6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.0.33-0.35.el4 | < 0:3.0.33-3.38.el5_8 | < 0:3.0.33-3.7.el5_3.4 | < 0:3.0.33-3.29.el5_6.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":null},{"vendor":"redhat","product":"samba-client","name":"samba-client","label":"samba-client","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/samba-client","purlType":"rpm","versions":[{"text":"< 0:3.0.33-0.35.el4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.38.el5_8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.7.el5_3.4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.29.el5_6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.0.33-0.35.el4 | < 0:3.0.33-3.38.el5_8 | < 0:3.0.33-3.7.el5_3.4 | < 0:3.0.33-3.29.el5_6.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"samba-common","name":"samba-common","label":"samba-common","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/samba-common","purlType":"rpm","versions":[{"text":"< 0:3.0.33-0.35.el4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.38.el5_8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.7.el5_3.4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.29.el5_6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.0.33-0.35.el4 | < 0:3.0.33-3.38.el5_8 | < 0:3.0.33-3.7.el5_3.4 | < 0:3.0.33-3.29.el5_6.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"samba-debuginfo","name":"samba-debuginfo","label":"samba-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/samba-debuginfo","purlType":"rpm","versions":[{"text":"< 0:3.0.33-0.35.el4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.38.el5_8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.7.el5_3.4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.29.el5_6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.0.33-0.35.el4 | < 0:3.0.33-3.38.el5_8 | < 0:3.0.33-3.7.el5_3.4 | < 0:3.0.33-3.29.el5_6.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"samba-swat","name":"samba-swat","label":"samba-swat","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/samba-swat","purlType":"rpm","versions":[{"text":"< 0:3.0.33-0.35.el4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.38.el5_8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.7.el5_3.4","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.0.33-3.29.el5_6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.0.33-0.35.el4 | < 0:3.0.33-3.38.el5_8 | < 0:3.0.33-3.7.el5_3.4 | < 0:3.0.33-3.29.el5_6.4","eol":null,"hubHref":null},{"vendor":"samba","product":"samba","name":"Samba","label":"samba","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0.0","eol":{"isEol":true,"eolDate":"2009-08-05T00:00:00.000Z","matchMethod":"name_exact","cycle":{"name":"3.0","label":"3.0","eolFrom":"2009-08-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"3.0.37"},"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":"/vendor/samba/samba"}],"affectedCount":11,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://btsc.webapps.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB29565","label":"btsc.webapps.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB29565","hostname":"btsc.webapps.blackberry.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00008.html","label":"lists.opensuse.org/opensuse-security-announce/2012-03/msg00008.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-1374-1","label":"www.ubuntu.com/usn/USN-1374-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00014.html","label":"lists.opensuse.org/opensuse-security-announce/2012-04/msg00014.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00008.html","label":"lists.opensuse.org/opensuse-security-announce/2012-04/msg00008.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://secunia.com/advisories/48844","label":"secunia.com/advisories/48844","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://secunia.com/advisories/48116","label":"secunia.com/advisories/48116","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=795509","label":"bugzilla.redhat.com/show_bug.cgi?id=795509","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Patch","REPORT"]},{"url":"http://secunia.com/advisories/48879","label":"secunia.com/advisories/48879","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://secunia.com/advisories/48186","label":"secunia.com/advisories/48186","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00009.html","label":"lists.opensuse.org/opensuse-security-announce/2012-03/msg00009.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://support.apple.com/kb/HT5281","label":"support.apple.com/kb/HT5281","hostname":"support.apple.com","tags":["X Refsource CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","label":"lists.apple.com/archives/security-announce/2012/May/msg00001.html","hostname":"lists.apple.com","tags":["Vendor Advisory","X Refsource APPLE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73361","label":"exchange.xforce.ibmcloud.com/vulnerabilities/73361","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"https://access.redhat.com/errata/RHSA-2012:0332","label":"access.redhat.com/errata/RHSA-2012:0332","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#critical","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_0332.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_0332.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-0870","label":"access.redhat.com/security/cve/CVE-2012-0870","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-0870","label":"www.cve.org/CVERecord?id=CVE-2012-0870","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0870","label":"nvd.nist.gov/vuln/detail/CVE-2012-0870","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"http://www.samba.org/samba/security/CVE-2012-0870","label":"www.samba.org/samba/security/CVE-2012-0870","hostname":"www.samba.org","tags":["ARTICLE"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-0870","label":"security-tracker.debian.org/tracker/CVE-2012-0870","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10069-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10069-1"]},"timeline":[{"kind":"published","date":"2012-02-23T11:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T18:38:14.979Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T02:07:06.844Z","stale":false,"partial":false}}