CVE-2012-1182 in the critical feed json
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 le…
published 2012-04-10 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-1211
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 74.4%
- EPSS 74.4% chance of exploitation in 30 days, percentile 99.4%
- public exploits
- 2
- Metasploit, Exploit-DB
Summary
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.
Patch / fix
- samba Debian 14, Debian 13, Debian 12 2:3.6.4-1
debian advisories DEBIAN-CVE-2012-1182
- openchange RHEL 6 1.0-4.el6
- evolution-mapi RHEL 6 0.28.3-12.el6
- openchange-client RHEL 6 1.0-4.el6
- samba4 RHEL 6 4.0.0-55.el6.rc4
- samba4-dc RHEL 6 4.0.0-55.el6.rc4
- samba4-libs RHEL 6 4.0.0-55.el6.rc4
- samba4-pidl RHEL 6 4.0.0-55.el6.rc4
- samba4-swat RHEL 6 4.0.0-55.el6.rc4
red hat advisories RHSA-2013:0515RHSA-2013:0506RHSA-2012:0478RHSA-2012:0466RHSA-2012:0465
- 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-1182 updated cvss 8.3
samba: Multiple heap-based buffer overflows in memory management based on NDR marshalling code output
-
Red Hat Enterprise Linux (v. 5 server) samba 3.0.33-3.39.el5_8, samba3x 3.5.10-0.108.el5_8, samba-swat 3.0.33-3.39.el5_8, libsmbclient 3.0.33-3.39.el5_8, samba-client 3.0.33-3.39.el5_8, samba-common 3.0.33-3.39.el5_8, +5 morefixed: vendor fix RHSA-2012:0465
-
Red Hat Enterprise Linux AS (v. 4 ELS) samba 3.0.33-3.36.el4, samba-swat 3.0.33-3.36.el4, samba-client 3.0.33-3.36.el4, samba-common 3.0.33-3.36.el4fixed: vendor fix RHSA-2012:0478
-
Red Hat Enterprise Linux Desktop (v. 5 client) samba 3.0.33-3.39.el5_8, samba3x 3.5.10-0.108.el5_8, samba-swat 3.0.33-3.39.el5_8, libsmbclient 3.0.33-3.39.el5_8, samba-client 3.0.33-3.39.el5_8, samba-common 3.0.33-3.39.el5_8, +5 more Red Hat Enterprise Linux Desktop (v. 6) openchange 1.0-4.el6, samba 3.5.10-115.el6_2, samba4 4.0.0-55.el6.rc4, samba4-dc 4.0.0-55.el6.rc4, evolution-mapi 0.28.3-12.el6, samba4-libs 4.0.0-55.el6.rc4, +15 more Red Hat Enterprise Linux Desktop Optional (v. 6) openchange 1.0-4.el6, samba 3.5.10-115.el6_2, openchange-client 1.0-4.el6, samba-swat 3.5.10-115.el6_2, evolution-mapi 0.28.3-12.el6, samba-domainjoin-gui 3.5.10-115.el6_2, +1 morefixed: vendor fix RHSA-2012:0465
-
Red Hat Enterprise Linux ES (v. 4 ELS) samba 3.0.33-3.36.el4, samba-swat 3.0.33-3.36.el4, samba-client 3.0.33-3.36.el4, samba-common 3.0.33-3.36.el4fixed: vendor fix RHSA-2012:0478
-
Red Hat Enterprise Linux EUS (v. 5.6 server) samba 3.0.33-3.29.el5_6.5, samba3x 3.5.4-0.70.el5_6.2, samba-swat 3.0.33-3.29.el5_6.5, samba3x-swat 3.5.4-0.70.el5_6.2, libsmbclient 3.0.33-3.29.el5_6.5, samba-client 3.0.33-3.29.el5_6.5, +5 more Red Hat Enterprise Linux HPC Node (v. 6) samba 3.5.10-115.el6_2, samba4 4.0.0-55.el6.rc4, samba4-dc 4.0.0-55.el6.rc4, samba4-libs 4.0.0-55.el6.rc4, samba4-pidl 4.0.0-55.el6.rc4, samba4-swat 4.0.0-55.el6.rc4, +12 more Red Hat Enterprise Linux HPC Node Optional (v. 6) samba 3.5.10-115.el6_2, samba-swat 3.5.10-115.el6_2, libsmbclient 3.5.10-115.el6_2, samba-domainjoin-gui 3.5.10-115.el6_2, samba-winbind-krb5-locator 3.5.10-115.el6_2 Red Hat Enterprise Linux Long Life (v. 5.3 server) samba 3.0.33-3.7.el5_3.5, samba-swat 3.0.33-3.7.el5_3.5, samba-client 3.0.33-3.7.el5_3.5, samba-common 3.0.33-3.7.el5_3.5 Red Hat Enterprise Linux Server (v. 6) samba 3.5.10-115.el6_2, samba4 4.0.0-55.el6.rc4, samba4-dc 4.0.0-55.el6.rc4, samba4-libs 4.0.0-55.el6.rc4, samba4-pidl 4.0.0-55.el6.rc4, samba4-swat 4.0.0-55.el6.rc4, +13 more Red Hat Enterprise Linux Server EUS (v. 6.0) samba 3.5.4-68.el6_0.3, libsmbclient 3.5.4-68.el6_0.3, samba-client 3.5.4-68.el6_0.3, samba-common 3.5.4-68.el6_0.3, samba-winbind 3.5.4-68.el6_0.3, samba-winbind-clients 3.5.4-68.el6_0.3fixed: vendor fix RHSA-2012:0465
+7 more productsfewer
Red Hat Enterprise Linux Server EUS (v. 6.1) samba 3.5.6-86.el6_1.5, libsmbclient 3.5.6-86.el6_1.5, samba-client 3.5.6-86.el6_1.5, samba-common 3.5.6-86.el6_1.5, samba-winbind 3.5.6-86.el6_1.5, samba-winbind-clients 3.5.6-86.el6_1.5 Red Hat Enterprise Linux Server Optional (v. 6) openchange 1.0-4.el6, samba 3.5.10-115.el6_2, openchange-client 1.0-4.el6, samba-swat 3.5.10-115.el6_2, evolution-mapi 0.28.3-12.el6, samba-domainjoin-gui 3.5.10-115.el6_2, +1 more Red Hat Enterprise Linux Server Optional EUS (v. 6.0) samba 3.5.4-68.el6_0.3, samba-swat 3.5.4-68.el6_0.3, samba-domainjoin-gui 3.5.4-68.el6_0.3 Red Hat Enterprise Linux Server Optional EUS (v. 6.1) samba 3.5.6-86.el6_1.5, samba-swat 3.5.6-86.el6_1.5, samba-domainjoin-gui 3.5.6-86.el6_1.5, samba-winbind-krb5-locator 3.5.6-86.el6_1.5 Red Hat Enterprise Linux Workstation (v. 6) openchange 1.0-4.el6, samba 3.5.10-115.el6_2, samba4 4.0.0-55.el6.rc4, samba4-dc 4.0.0-55.el6.rc4, evolution-mapi 0.28.3-12.el6, samba4-libs 4.0.0-55.el6.rc4, +15 more Red Hat Enterprise Linux Workstation Optional (v. 6) openchange 1.0-4.el6, samba 3.5.10-115.el6_2, openchange-client 1.0-4.el6, samba-swat 3.5.10-115.el6_2, evolution-mapi 0.28.3-12.el6, samba-domainjoin-gui 3.5.10-115.el6_2, +1 more Red Hat RHEL Desktop Workstation (v. 5 client) samba 3.0.33-3.39.el5_8, samba3x 3.5.10-0.108.el5_8
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
Timeline
- First public exploit (Metasploit exploit/linux/samba/setinfopolicy_heap)
- Published
Exploit prediction
74.37% chance of exploitation in the next 30 days, higher than 99.4% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/linux/samba/setinfopolicy_heap Samba SetInformationPolicy AuditEventsInfo Heap Overflow metasploit exploit, normal rank, 2012-04-10
- EDB-21850 Samba 3.4.16/3.5.14/3.6.4 - SetInformationPolicy AuditEventsInfo Heap Overflow (Metasploit) remote, 2012-10-10
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
-
mandriva.com
/security/advisories?name=MDVSA-2012:055
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-04/msg00007.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-04/msg00014.html
vendor-advisory
-
debian.org
/security/2012/dsa-2450
vendor-advisory
-
marc.info
/?l=bugtraq&m=134323086902585&w=2
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-04/msg00008.html
vendor-advisory
-
ubuntu.com
/usn/USN-1423-1
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-April/078726.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-April/078836.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-April/078258.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=133951282306605&w=2
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-04/msg00009.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-May/080567.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2012/May/msg00001.html
vendor-advisory
-
samba.org
/samba/security/CVE-2012-1182
vendor-advisory
- samba.org /samba/history/samba-3.6.4.html
-
secunia.com
/advisories/48751
third-party-advisory
-
secunia.com
/advisories/48844
third-party-advisory
-
secunia.com
/advisories/48816
third-party-advisory
-
secunia.com
/advisories/48879
third-party-advisory
-
secunia.com
/advisories/48754
third-party-advisory
-
securitytracker.com
/id?1026913
vdb-entry
-
secunia.com
/advisories/48818
third-party-advisory
- collax.com /produkte/AllinOne-server-for-small-businesses#id2565578
-
secunia.com
/advisories/48999
third-party-advisory
- support.apple.com /kb/HT5281
-
secunia.com
/advisories/48873
third-party-advisory
Sources
- CVE List CVE-2012-1182
- NVD CVE-2012-1182
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.