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.
CVE-2012-1182
- High exploitation likelihood — EPSS 74%
A fix is available — apply it.
- CVSS v3
- —
- EG Score
- 0.0(none)
- EPSS
- 99.4%
- KEV
- Not listed
Published
April 10, 2012
Last Modified
April 29, 2026
References (54)
- secalert@redhathttp://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- secalert@redhathttp://lists.fedoraproject.org/pipermail/package-announce/2012-April/078258.html
- secalert@redhathttp://lists.fedoraproject.org/pipermail/package-announce/2012-April/078726.html
- secalert@redhathttp://lists.fedoraproject.org/pipermail/package-announce/2012-April/078836.html
- secalert@redhathttp://lists.fedoraproject.org/pipermail/package-announce/2012-May/080567.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2012-04/msg00007.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2012-04/msg00008.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2012-04/msg00009.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2012-04/msg00014.html
- secalert@redhathttp://marc.info/?l=bugtraq&m=133951282306605&w=2
- secalert@redhathttp://marc.info/?l=bugtraq&m=134323086902585&w=2
- secalert@redhathttp://secunia.com/advisories/48751
- secalert@redhathttp://secunia.com/advisories/48754
- secalert@redhathttp://secunia.com/advisories/48816
- secalert@redhathttp://secunia.com/advisories/48818
Vendor Advisories for CVE-2012-1182(5)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2013:0515Red Hat Product SecurityMedium
Red Hat Security Advisory: openchange security, bug fix and enhancement update
- RHSA-2013:0506Red Hat Product SecurityMedium
Red Hat Security Advisory: samba4 security, bug fix and enhancement update
- RHSA-2012:0478Red Hat Product SecurityCritical
Red Hat Security Advisory: samba security update
- RHSA-2012:0465Red Hat Product SecurityCritical
Red Hat Security Advisory: samba security update
- RHSA-2012:0466Red Hat Product SecurityCritical
Red Hat Security Advisory: samba3x security update
Patch Availability(6)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | samba (2:3.5.11~dfsg-1ubuntu2.2) @ oneiric | 2026-05-29 | ubuntu |
| redhat | samba4-0:4.0.0-55.el6.rc4 | 2013-02-20 | redhat |
| redhat | openchange-0:1.0-4.el6 | 2013-02-20 | redhat |
| redhat | samba-0:3.0.33-3.36.el4 | 2012-04-13 | redhat |
| redhat | samba-0:3.5.6-86.el6_1.5 | 2012-04-10 | redhat |
| redhat | samba3x-0:3.5.4-0.70.el5_6.2 | 2012-04-10 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 6× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-05 15:29 UTCOSV refresh
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-02 14:01 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-21 14:53 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 02:44 UTCOSV refresh
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:56 UTCEPSS rescore
- 2026-06-10 22:14 UTCEPSS rescore
- 2026-06-10 13:18 UTCEPSS rescore
Show 31 moreShow fewer
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-29 04:55 UTCEG score recompute
- 2026-05-29 04:55 UTCVendor advisory
- 2026-05-29 04:55 UTCGHSA enrichment
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-21 23:36 UTCOSV refresh
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 Metasploit module) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-21850✓ verifiedFirst seen Oct 10, 2012
Samba 3.4.16/3.5.14/3.6.4 - SetInformationPolicy AuditEventsInfo Heap Overflow (Metasploit)
Open source ↗ - Metasploitexploit/linux/samba/setinfopolicy_heap✓ verifiedFirst seen Apr 10, 2012
Samba SetInformationPolicy AuditEventsInfo Heap Overflow
Open source ↗
Frequently asked(4)
What is CVE-2012-1182?
When was CVE-2012-1182 disclosed?
Is CVE-2012-1182 actively exploited?
How do I remediate CVE-2012-1182?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2012-1182
Is Your Infrastructure Affected by CVE-2012-1182?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.