Skip to content
Fencer Intel
critical 10.0

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 more
    fixed: 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.el4
    fixed: 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 more
    fixed: 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.el4
    fixed: 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.3
    +7 more products
    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
    fixed: vendor fix RHSA-2012:0465

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

  1. First public exploit (Metasploit exploit/linux/samba/setinfopolicy_heap)
  2. 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

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

References

Sources

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.