CVE-2016-10164

CRITICAL

libXpm < 3.5.12 - Heap-Based Buffer Overflow via Crafted XPM File

Title source: llm
STIX 2.1

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.

References (8)

Core 8
Core References
Mailing List, Patch, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2017/01/25/7
Issue Tracking, Patch, Third Party Advisory mailing-list x_refsource_mlist
https://lists.freedesktop.org/archives/xorg/2016-December/058537.html
Mailing List, Patch, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2017/01/22/2
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/95785
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://cgit.freedesktop.org/xorg/lib/libXpm/commit/?id=d1167418f0fd02a27f617ec5afd6db053afbe185
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2017:1865
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2017/dsa-3772
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201701-72

Scores

CVSS v3 9.8
EPSS 0.0753
EPSS Percentile 93.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-119 CWE-190 CWE-787
Status published
Products (1)
x.org/libxpm < 3.5.11
Published Feb 01, 2017
Tracked Since Feb 18, 2026