BreachSpiderVerified, not vibes

CVE-2012-1182 in Samba

Critical 10.0 Public exploit reported

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.010.0
EPSS74.5%
EPSS percentile100th
FixSee advisory

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Samba Samba 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5
+13 more3.5.6 3.5.7 3.5.8 3.5.9 3.5.10 3.5.11 3.5.12 3.5.13 3.6.0 3.6.1 3.6.2 3.6.3 ≤ 3.4.15

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2012-1182
BreachSpider IDBS-2012-GLOBAL-159216-C
CVSS vectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Published2012-04-10
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-189: CWE-189

Analysis AI-written, not human-reviewed

A critical vulnerability in the RPC code generator of Samba versions prior to 3.4.16, 3.5.14, and 3.6.4 allows remote attackers to execute arbitrary code through a crafted RPC call due to improper validation of array length.

The vulnerability arises from the lack of proper validation of an array length in the RPC code generator, which can be exploited by sending a specially crafted RPC call to the affected Samba server.

Questions

What is CVE-2012-1182?

A critical vulnerability in the RPC code generator of Samba versions prior to 3.4.16, 3.5.14, and 3.6.4 allows remote attackers to execute arbitrary code through a crafted RPC call due to improper validation of array length.

What is the CVSS score for CVE-2012-1182?

CVE-2012-1182 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 74.5%.

Is CVE-2012-1182 actively exploited?

Public exploit available for CVE-2012-1182. Exploitation risk elevated.

How do I remediate CVE-2012-1182?

Priority: IMMEDIATE. Advisory: https://www.samba.org/samba/security/CVE-2012-1182 PSIRT: [email protected]

What systems are affected by CVE-2012-1182?

CVE-2012-1182 affects Samba Samba.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Samba","product":"Samba","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.