Multiple integer overflows in libXpm before 3.5.12, when a program requests parsing XPM…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 8 fixed, 2 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2017:1865 Released 2017-08-01 · Red Hat rating ModerateX.org X11 libraries security, bug fix and enhancement update
- Red Hat Enterprise Linux Client (v. 7) libICE-1.0.9-9.el7, libX11-1.6.5-1.el7, libX11-common-1.6.5-1.el7 +38
- Red Hat Enterprise Linux Client Optional (v. 7) drm-utils-2.4.74-1.el7, libICE-devel-1.0.9-9.el7, libX11-devel-1.6.5-1.el7 +44
- Red Hat Enterprise Linux ComputeNode (v. 7) libICE-1.0.9-9.el7, libX11-1.6.5-1.el7, libX11-common-1.6.5-1.el7 +29
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) drm-utils-2.4.74-1.el7, libICE-devel-1.0.9-9.el7, libX11-devel-1.6.5-1.el7 +46
- Red Hat Enterprise Linux Server (v. 7) libICE-1.0.9-9.el7, libICE-1.0.9-9.el7.ppc, libICE-devel-1.0.9-9.el7 +47
- Red Hat Enterprise Linux Server Optional (v. 7) drm-utils-2.4.74-1.el7, libXdmcp-devel-1.1.2-6.el7, libXdmcp-devel-1.1.2-6.el7.ppc +42
- Red Hat Enterprise Linux Workstation (v. 7) libICE-1.0.9-9.el7, libICE-devel-1.0.9-9.el7, libX11-1.6.5-1.el7 +47
- Red Hat Enterprise Linux Workstation Optional (v. 7) drm-utils-2.4.74-1.el7, libXdmcp-devel-1.1.2-6.el7, libXfont-devel-1.5.2-1.el7 +24
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2017:1865 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2017:1865 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2017:1865 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2017:1865 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2017:1865 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2017:1865 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2017:1865 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2017:1865 |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-10164
- 2026-10-03 Alias added: GHSA-fhfv-mh3h-f699
References
Patch 4
Advisory 3
More x.org Libxpm vulnerabilities
- TI-2022-04476 Untrusted search path in libXpm CVSS 3.1HIGH 8.8
- TI-2022-22834 Infinite loop in libXpm CVSS 3.1HIGH 7.5
- TI-2022-21937 Improper input validation in libXpm CVSS 3.1HIGH 7.5
- TI-2023-23479 Libxpm: out of bounds read in xpmcreatexpmimagefrombuffer() CVSS 3.1MEDIUM 5.5
Sources
- CVE-2016-10164 · CVE Program
- CVE-2016-10164 · NVD
- FIRST EPSS
- GHSA-fhfv-mh3h-f699 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-10164 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences