Back to CVE catalog

AI 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 validate array length consistently with array memory allocation. A remote attacker can execute arbitrary code by sending a crafted RPC call.

Generated automatically from the source description. Check the sources below before acting.

CVE-2012-1182

Inconsistent array length validation in RPC code generator

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

10.0High
Published:
Updated:
EPSS:
74.493%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:sambasambaAffected versions:
≤ 3.4.15Show full version range for samba
3.0.03.0.13.0.103.0.113.0.123.0.133.0.143.0.14a3.0.153.0.163.0.173.0.183.0.193.0.23.0.203.0.20a3.0.20b3.0.213.0.21a3.0.21b3.0.21c3.0.223.0.233.0.23a3.0.23b3.0.23c3.0.23d3.0.243.0.253.0.25a3.0.25b3.0.25c3.0.263.0.26a3.0.273.0.283.0.293.0.2a3.0.33.0.303.0.313.0.323.0.333.0.343.0.353.0.363.0.373.0.43.0.53.0.63.0.73.0.83.0.93.1.03.2.03.2.13.2.103.2.113.2.123.2.133.2.143.2.153.2.23.2.33.2.43.2.53.2.63.2.73.2.83.2.93.3.03.3.13.3.103.3.113.3.123.3.133.3.143.3.153.3.163.3.23.3.33.3.43.3.53.3.63.3.73.3.83.3.93.4.03.4.13.4.103.4.113.4.123.4.133.4.143.4.23.4.33.4.43.4.53.4.63.4.73.4.83.4.93.5.03.5.13.5.103.5.113.5.123.5.133.5.23.5.33.5.43.5.53.5.63.5.73.5.83.5.93.6.03.6.13.6.23.6.3
Vendor:Debianlibpam-smbpass
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:3.6.4-1
Vendor:Debianlibpam-winbind
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:3.6.4-1
Vendor:Debianlibsmbclient
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:3.6.4-1
Vendor:Debianlibsmbclient-dev
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:3.6.4-1
Vendor:Debianlibwbclient-dev
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:3.6.4-1
Vendor:Debianlibwbclient0
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:3.6.4-1
Vendor:Debiansamba
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:3.6.4-1
Vendor:Debiansamba-common
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:3.6.4-1
Vendor:Debiansamba-common-bin
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:3.6.4-1

1–10 of 852 · Page 1 of 86

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:C/I:C/A:C
oraclelinux · Wazuh CTI (adp)8.3 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Adjacent
Authentication
Not required

Source vector

AV:A/AC:L/Au:N/C:C/I:C/A:C
redhat · Wazuh CTI (adp)8.3 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Adjacent
Authentication
Not required

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories55

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences