CVE-2016-10164 json
Multiple integer overflows in libXpm before 3.5.12, when a program requests parsing XPM extensions on a 64-bit platform, allow remote attac…
published 2017-02-01 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-1352
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.6%
- EPSS 7.6% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libxpm Debian 14, Debian 13, Debian 12 1:3.5.12-1
debian advisories DEBIAN-CVE-2016-10164
- libxpm Ubuntu 14.04 LTS 1:3.5.10-1ubuntu0.1
- libxpm Ubuntu 16.04 LTS 1:3.5.11-1ubuntu0.16.04.1
ubuntu advisories UBUNTU-CVE-2016-10164
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- mesa RHEL 7 17.0.1-6.20170307.el7
- libXi RHEL 7 1.7.9-1.el7
- libXt RHEL 7 1.1.5-3.el7
- libXv RHEL 7 1.0.11-1.el7
- libdrm RHEL 7 2.4.74-1.el7
- libICE RHEL 7 1.0.9-9.el7
- libX11 RHEL 7 1.6.5-1.el7
- libXaw RHEL 7 1.0.13-4.el7
red hat advisories RHSA-2017:1865
- xorg-x11-libXpm SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 7.4-3.1
- libXpm SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 3.5.11-5.1
suse advisories SUSE-SU-2017:0470-1SUSE-SU-2017:0467-1
- libxpm Alpine 3.4, Alpine 3.3, Alpine 3.2 3.5.12-r0
alpine advisories ALPINE-CVE-2016-10164
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-10164 updated cvss 5.8
libXpm: Out-of-bounds write in XPM extension parsing
-
Red Hat Enterprise Linux 5 libXpm Red Hat Enterprise Linux 6 libXpmaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) libxcb 1.12-1.el7, libXi 1.7.9-1.el7, libXt 1.1.5-3.el7, libICE 1.0.9-9.el7, libX11 1.6.5-1.el7, libXv 1.0.11-1.el7, +35 more Red Hat Enterprise Linux Client Optional (v. 7) xcb-proto 1.12-2.el7, vulkan 1.0.39.1-2.el7, drm-utils 2.4.74-1.el7, libevdev-utils 1.5.6-1.el7, vulkan-filesystem 1.0.39.1-2.el7, mesa-libOSMesa 17.0.1-6.20170307.el7, +1 more Red Hat Enterprise Linux ComputeNode (v. 7) libxcb 1.12-1.el7, libXi 1.7.9-1.el7, libXt 1.1.5-3.el7, libICE 1.0.9-9.el7, libX11 1.6.5-1.el7, libXv 1.0.11-1.el7, +26 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) libwacom 0.24-1.el7, xcb-proto 1.12-2.el7, vulkan 1.0.39.1-2.el7, drm-utils 2.4.74-1.el7, libwacom-data 0.24-1.el7, libxkbcommon 0.7.1-1.el7, +6 more Red Hat Enterprise Linux Server (v. 7) libxcb 1.12-1.el7, libXi 1.7.9-1.el7, libXt 1.1.5-3.el7, libICE 1.0.9-9.el7, libX11 1.6.5-1.el7, libXv 1.0.11-1.el7, +35 more Red Hat Enterprise Linux Server Optional (v. 7) libwacom 0.24-1.el7, xcb-proto 1.12-2.el7, vulkan 1.0.39.1-2.el7, drm-utils 2.4.74-1.el7, libwacom-data 0.24-1.el7, libevdev-utils 1.5.6-1.el7, +3 morefixed: vendor fix RHSA-2017:1865
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) libxcb 1.12-1.el7, libXi 1.7.9-1.el7, libXt 1.1.5-3.el7, libICE 1.0.9-9.el7, libX11 1.6.5-1.el7, libXv 1.0.11-1.el7, +35 more Red Hat Enterprise Linux Workstation Optional (v. 7) xcb-proto 1.12-2.el7, vulkan 1.0.39.1-2.el7, drm-utils 2.4.74-1.el7, libevdev-utils 1.5.6-1.el7, vulkan-filesystem 1.0.39.1-2.el7, mesa-libOSMesa 17.0.1-6.20170307.el7, +1 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
7.59% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
References
-
cgit.freedesktop.org
/xorg/lib/libXpm/commit/?id=d1167418f0fd02a27f617ec5afd6db053afbe185
issue-tracking, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2017/01/25/7
mailing-list, patch, third-party-advisory
-
lists.freedesktop.org
/archives/xorg/2016-December/058537.html
mailing-list, issue-tracking, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2017/01/22/2
mailing-list, patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:1865
vendor-advisory
-
debian.org
/security/2017/dsa-3772
vendor-advisory
-
security.gentoo.org
/glsa/201701-72
vendor-advisory
-
securityfocus.com
/bid/95785
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2016-10164
- NVD CVE-2016-10164
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.