---
title: "CVE-2012-1182\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-1182?format=md
keywords: index, follow
---

# CVE-2012-1182

Publication date 10 April 2012

Last updated 24 July 2024

---

Ubuntu priority

**High**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

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

[Read the notes from the security team](https://ubuntu.com/security/CVE-2012-1182?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| samba | 11.10 oneiric | Fixed 2:3.5.11~dfsg-1ubuntu2.2 |
| 11.04 natty | Fixed 2:3.5.8~dfsg-1ubuntu2.4 |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Fixed 2:3.4.7~dfsg-1ubuntu3.9 |
| 8.04 LTS hardy | Fixed 3.0.28a-1ubuntu4.18 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [sbeattie](https://launchpad.net/~sbeattie)

in hardy, the 3.0 reproducer leads to a glibc backtrace

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1182)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-1182)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-1182)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-1182)

### Related Ubuntu Security Notices (USN)

+ [USN-1423-1](https://usn.ubuntu.com/USN-1423-1)
+ Samba vulnerability
+ 13 April 2012

### Other references

* <https://www.samba.org/samba/security/CVE-2012-1182>
* <https://www.cve.org/CVERecord?id=CVE-2012-1182>
