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
Advisories And Exploit References
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2012-1182
- advisoryhttps://www.samba.org/samba/security/CVE-2012-1182
- advisoryRHSA-2012:0465
- advisoryRHSA-2012:0466
- advisoryRHSA-2012:0478
- advisoryRHSA-2013:0506
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| Product | Affected versions | Fixed in |
|---|---|---|
| SambaSamba | 3.0.0, 3.0.1, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.14-a | 3.4.15 |
| rootio-sambarootio | See advisory | 2:3.6.4-1 |
| evolution-mapi-develoracle | See advisory | 0.28.3-12.el6 |
| evolution-mapioracle | See advisory | 0.28.3-12.el6 |
| libsmbclient-develoracle | See advisory | 3.0.33-3.39.el5_8 |
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
Publicly disclosed
Apr 10, 2012
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
- advisorysecurity-tracker.debian.org · CVE-2012-1182
- advisorysamba.org · CVE-2012-1182
- advisoryRHSA-2012:0465
- advisoryRHSA-2012:0466
- advisoryRHSA-2012:0478
FAQ
Common Questions.
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: Samba versions 3.0.0, 3.0.1, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.14-a; rootio-samba; evolution-mapi-devel (oracle), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
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.
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