---
title: "CVE-2016-10164\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-2016-10164?format=md
keywords: index, follow
---

# CVE-2016-10164

Publication date 31 December 2016

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2016-10164?format=md#impact-score)

Toggle side navigation

## Description

Multiple integer overflows in libXpm before 3.5.12, when a program requests
parsing XPM extensions on a 64-bit platform, allow remote attackers to
cause a denial of service (out-of-bounds write) or execute arbitrary code
via (1) the number of extensions or (2) their concatenated length in a
crafted XPM file, which triggers a heap-based buffer overflow.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libxpm | 16.10 yakkety | Fixed 1:3.5.11-1ubuntu0.16.10.1 |
| 16.04 LTS xenial | Fixed 1:3.5.11-1ubuntu0.16.04.1 |
| 14.04 LTS trusty | Fixed 1:3.5.10-1ubuntu0.1 |
| 12.04 LTS precise | Fixed 1:3.5.9-4ubuntu0.1 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2016-10164?format=md#patch-details)

## Notes

---

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

See oss-security thread for a test case

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libxpm | * Upstream:   [?id=d11](https://cgit.freedesktop.org/xorg/lib/libXpm/commit/?id=d1167418f0fd02a27f617ec5afd6db053afbe185) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3185-1](https://usn.ubuntu.com/USN-3185-1)
+ libXpm vulnerability
+ 1 February 2017

### Other references

* <http://www.openwall.com/lists/oss-security/2017/01/22/2>
* <https://www.cve.org/CVERecord?id=CVE-2016-10164>
