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.
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
Source: MITRE
Published: 2017-02-01
Updated: 2018-01-05
Type: CWE-119
Base Score: 7.5
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P
Impact Score: 6.4
Exploitability Score: 10
Severity: HIGH
Base Score: 9.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Impact Score: 5.9
Exploitability Score: 3.9
Severity: CRITICAL