{"id":"CVE-2012-1182","url":"https://www.cyber-defence.io/tools/cve/CVE-2012-1182","generatedAt":"2026-11-05T08:21:37.086Z","title":"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…","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.","published":"2012-04-10T21:55:02.000Z","lastModified":"2026-06-16T23:39:12.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":10,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C"},"cwe":["CWE-189"],"affected":["samba/samba"],"epss":{"score":0.74371,"percentile":0.99492,"date":"2026-11-04","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2012-10-10","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":21850,"kind":"exploit","title":"Samba 3.4.16/3.5.14/3.6.4 - SetInformationPolicy AuditEventsInfo Heap Overflow (Metasploit)","url":"https://www.exploit-db.com/exploits/21850","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/remote/21850.rb","file":"exploits/linux/remote/21850.rb","published":"2012-10-10","added":"2012-10-10","updated":"2016-12-01","author":"Metasploit","type":"remote","platform":"linux","port":null,"verified":true,"codes":["CVE-2012-1182","OSVDB-81303"],"tags":"Metasploit Framework (MSF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"http://www.zerodayinitiative.com/advisories/ZDI-12-069/"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 74.4%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078258.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078726.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078836.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080567.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00007.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00008.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00009.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00014.html","source":"secalert@redhat.com"},{"url":"http://marc.info/?l=bugtraq&m=133951282306605&w=2","source":"secalert@redhat.com"},{"url":"http://marc.info/?l=bugtraq&m=134323086902585&w=2","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48751","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48754","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48816","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48818","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48844","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48873","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48879","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48999","source":"secalert@redhat.com"},{"url":"http://support.apple.com/kb/HT5281","source":"secalert@redhat.com"},{"url":"http://www.collax.com/produkte/AllinOne-server-for-small-businesses#id2565578","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2012/dsa-2450","source":"secalert@redhat.com"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:055","source":"secalert@redhat.com"},{"url":"http://www.samba.org/samba/history/samba-3.6.4.html","source":"secalert@redhat.com"},{"url":"http://www.securitytracker.com/id?1026913","source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-1423-1","source":"secalert@redhat.com"},{"url":"https://www.samba.org/samba/security/CVE-2012-1182","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078258.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078726.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078836.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080567.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00007.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00008.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00009.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00014.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=133951282306605&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=134323086902585&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48751","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48754","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48816","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48818","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48844","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48873","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48879","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48999","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.apple.com/kb/HT5281","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.collax.com/produkte/AllinOne-server-for-small-businesses#id2565578","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2012/dsa-2450","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:055","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.samba.org/samba/history/samba-3.6.4.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id?1026913","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/USN-1423-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.samba.org/samba/security/CVE-2012-1182","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-1182","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}