CVE-2016-10164
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-10164
Vendor advisory: cve@mitre.org — https://lists.freedesktop.org/archives/xorg/2016-December/058537.html
Vendor advisory: cve@mitre.org — https://cgit.freedesktop.org/xorg/lib/libXpm/commit/?id=d1167418f0fd02a27f617ec5afd6db053afbe185
Vendor advisory: cve@mitre.org — http://www.openwall.com/lists/oss-security/2017/01/25/7
Vendor advisory: cve@mitre.org — http://www.openwall.com/lists/oss-security/2017/01/22/2
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2016-10164.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 1:3.5.12-1 |
| debian | bullseye | fixed | 1:3.5.12-1 |
| debian | forky | fixed | 1:3.5.12-1 |
| debian | sid | fixed | 1:3.5.12-1 |
| debian | trixie | fixed | 1:3.5.12-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| x.org | libxpm | {"endIncluding":"3.5.11"} | |
References
- https://www.suse.com/security/cve/CVE-2016-10164.html
- http://www.debian.org/security/2017/dsa-3772
- http://www.openwall.com/lists/oss-security/2017/01/22/2
- http://www.openwall.com/lists/oss-security/2017/01/25/7
- http://www.securityfocus.com/bid/95785
- https://access.redhat.com/errata/RHSA-2017:1865
- https://cgit.freedesktop.org/xorg/lib/libXpm/commit/?id=d1167418f0fd02a27f617ec5afd6db053afbe185
- https://lists.freedesktop.org/archives/xorg/2016-December/058537.html
- https://security.gentoo.org/glsa/201701-72
- https://security-tracker.debian.org/tracker/CVE-2016-10164
CWEs
CWE-119 CWE-190 CWE-787
Verify integrity in audit chain (admin only). AS-IS.