---
title: 'USN-3158-1: Samba vulnerabilities | Ubuntu security notices'
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/notices/USN-3158-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-3158-1

---

# USN-3158-1: Samba vulnerabilities

Publication date

19 December 2016

Overview

Several security issues were fixed in Samba.

Releases

[16.10](https://ubuntu.com/security/notices?release=yakkety)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)
[14.04 LTS](https://ubuntu.com/security/notices?release=trusty)
[12.04](https://ubuntu.com/security/notices?release=precise)

---

Open side navigation

## Packages

* [samba](https://ubuntu.com/security/cves?package=samba) - SMB/CIFS file, print, and login server for Unix

## Details

Frederic Besler and others discovered that the ndr\_pull\_dnsp\_nam
function in Samba contained an integer overflow. An authenticated
attacker could use this to gain administrative privileges. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 16.10.
([CVE-2016-2123](https://ubuntu.com/security/CVE-2016-2123))

Simo Sorce discovered that that Samba clients always requested
a forwardable ticket when using Kerberos authentication. An
attacker could use this to impersonate an authenticated user or
service. ([CVE-2016-2125](https://ubuntu.com/security/CVE-2016-2125))

Volker Lendecke discovered that Kerberos PAC validation implementation
in Samba contained multiple vulnerabilities. An authenticated attacker
could use this to cause a denial of service or gain administrative
privileges. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04
LTS, and Ubuntu 16.10. ([CVE-2016-2126](https://ubuntu.com/security/CVE-2016-2126))

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 16.10 yakkety | [libsmbclient](https://launchpad.net/ubuntu/+source/samba) –  [2:4.4.5+dfsg-2ubuntu5.2](https://launchpad.net/ubuntu/+source/samba/2:4.4.5+dfsg-2ubuntu5.2) | | |
| [samba](https://launchpad.net/ubuntu/+source/samba) –  [2:4.4.5+dfsg-2ubuntu5.2](https://launchpad.net/ubuntu/+source/samba/2:4.4.5+dfsg-2ubuntu5.2) | | |
| [winbind](https://launchpad.net/ubuntu/+source/samba) –  [2:4.4.5+dfsg-2ubuntu5.2](https://launchpad.net/ubuntu/+source/samba/2:4.4.5+dfsg-2ubuntu5.2) | | |
| 16.04 LTS xenial | [libsmbclient](https://launchpad.net/ubuntu/+source/samba) –  [2:4.3.11+dfsg-0ubuntu0.16.04.3](https://launchpad.net/ubuntu/+source/samba/2:4.3.11+dfsg-0ubuntu0.16.04.3) | | |
| [samba](https://launchpad.net/ubuntu/+source/samba) –  [2:4.3.11+dfsg-0ubuntu0.16.04.3](https://launchpad.net/ubuntu/+source/samba/2:4.3.11+dfsg-0ubuntu0.16.04.3) | | |
| [winbind](https://launchpad.net/ubuntu/+source/samba) –  [2:4.3.11+dfsg-0ubuntu0.16.04.3](https://launchpad.net/ubuntu/+source/samba/2:4.3.11+dfsg-0ubuntu0.16.04.3) | | |
| 14.04 LTS trusty | [libsmbclient](https://launchpad.net/ubuntu/+source/samba) –  [2:4.3.11+dfsg-0ubuntu0.14.04.4](https://launchpad.net/ubuntu/+source/samba/2:4.3.11+dfsg-0ubuntu0.14.04.4) | | |
| [samba](https://launchpad.net/ubuntu/+source/samba) –  [2:4.3.11+dfsg-0ubuntu0.14.04.4](https://launchpad.net/ubuntu/+source/samba/2:4.3.11+dfsg-0ubuntu0.14.04.4) | | |
| [winbind](https://launchpad.net/ubuntu/+source/samba) –  [2:4.3.11+dfsg-0ubuntu0.14.04.4](https://launchpad.net/ubuntu/+source/samba/2:4.3.11+dfsg-0ubuntu0.14.04.4) | | |
| 12.04 precise | [libsmbclient](https://launchpad.net/ubuntu/+source/samba) –  [2:3.6.25-0ubuntu0.12.04.5](https://launchpad.net/ubuntu/+source/samba/2:3.6.25-0ubuntu0.12.04.5) | | |
| [samba](https://launchpad.net/ubuntu/+source/samba) –  [2:3.6.25-0ubuntu0.12.04.5](https://launchpad.net/ubuntu/+source/samba/2:3.6.25-0ubuntu0.12.04.5) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2016-2126](https://ubuntu.com/security/CVE-2016-2126)
* [CVE-2016-2125](https://ubuntu.com/security/CVE-2016-2125)
* [CVE-2016-2123](https://ubuntu.com/security/CVE-2016-2123)
