Skip to content
Emerging threatsCritical

CVE-2012-1182Samba Heap Buffer Overflow

The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array length in a manner consistent with validation of array memory allocation, which allows remote attackers to execute arbitrary code via a…

Published Apr 10, 2012 · Updated Oct 23, 2026 · Also known as DEBIAN-CVE-2012-1182, DSA-2450-1, ECHO-59f3-2ff7-5966

Key Facts

Patch immediately
  • CVE-2012-1182 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Samba, rootio-samba, evolution-mapi-devel (oracle) and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 74% probability of exploitation in the next 30 days.
  • Fixed versions are available, including ctdb 4.5.0-1.1, ctdb-pcp-pmda 4.5.0-1.1, ctdb-tests 4.5.0-1.1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v2

10.0

AV:N/AC:L/Au:N/C:C/I:C/A:C

EPSS (30-day exploit likelihood)

74%

Higher than 99.6% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

70/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array length in a manner consistent with validation of array memory allocation, which allows remote attackers to execute arbitrary code via a crafted RPC call.

Affected Products

291 affected entries in total
ProductAffected versionsFixed in
SambaSamba3.0.0, 3.0.1, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.14-a3.4.15
rootio-sambarootioSee advisory2:3.6.4-1
evolution-mapi-develoracleSee advisory0.28.3-12.el6
evolution-mapioracleSee advisory0.28.3-12.el6
libsmbclient-develoracleSee advisory3.0.33-3.39.el5_8
20 more affected products in the full CVE brief

Patched Releases

ctdb

4.5.0-1.1

ctdb-pcp-pmda

4.5.0-1.1

ctdb-tests

4.5.0-1.1

evolution-mapi

0:0.28.3-12.el6, 0.28.3-12.el6

evolution-mapi-devel

0.28.3-12.el6

libdcerpc-binding0

4.5.0-1.1

libdcerpc-binding0-32bit

4.5.0-1.1

libdcerpc-devel

4.5.0-1.1

libdcerpc-samr-devel

4.5.0-1.1

libdcerpc-samr0

4.5.0-1.1

libdcerpc-samr0-32bit

4.5.0-1.1

libdcerpc0

4.5.0-1.1

libdcerpc0-32bit

4.5.0-1.1

libndr-devel

4.5.0-1.1

libndr-krb5pac-devel

4.5.0-1.1

libndr-krb5pac0

4.5.0-1.1

libndr-krb5pac0-32bit

4.5.0-1.1

libndr-nbt-devel

4.5.0-1.1

libndr-nbt0

4.5.0-1.1

libndr-nbt0-32bit

4.5.0-1.1

libndr-standard-devel

4.5.0-1.1

libndr-standard0

4.5.0-1.1

libndr-standard0-32bit

4.5.0-1.1

libndr0

4.5.0-1.1

libndr0-32bit

4.5.0-1.1

Timeline

  1. Publicly disclosed

    Apr 10, 2012

  2. Last updated

    Oct 23, 2026

Weakness Type

  • CWE-122 Heap-based Buffer Overflow
  • CWE-189
  • CWE-228 Improper Handling of Syntactically Invalid Structure
  • CWE-787 Out-of-bounds Write

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2012-1182 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.