Skip to content
Vulnerability Intelligence

CVE-2012-1182

CriticalPublic exploit

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 Aug 4, 2026 · Also known as DEBIAN-CVE-2012-1182, DSA-2450-1

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.

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.4% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2012-1182 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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

290 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

    Aug 4, 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 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo