CVE-2016-10164: x.org libxpm
Vulnerability summary
CVE-2016-10164 is a critical (CVSS 9.8) vulnerability in x.org libxpm. EPSS estimates a 7.59% chance of exploitation in the next 30 days, higher than 94.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 01-02-2017PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
7.59%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
0.00 pp
From 7.59% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Suse12 products
- libXpm&distro=SUSE Linux Enterprise Desktop 12 SP1< 3.5.11-5.1
- libXpm&distro=SUSE Linux Enterprise Desktop 12 SP2< 3.5.11-5.1
- libXpm&distro=SUSE Linux Enterprise Server 12 SP1< 3.5.11-5.1
- libXpm&distro=SUSE Linux Enterprise Server 12 SP2< 3.5.11-5.1
- libXpm&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2< 3.5.11-5.1
Alpine1 product
- libxpm< 3.5.12-r0
Debian1 product
- libxpm< 1:3.5.12-1 | < 1:3.5.12-0+deb8u1 | < 1:3.5.10-1+deb7u1
Mageia1 product
- libxpm< 3.5.12-1.mga5
Ubuntu1 product
- libxpm< 1:3.5.10-1ubuntu0.1 | < 1:3.5.11-1ubuntu0.16.04.1
X.org1 product
- libxpm≤ 3.5.11
6 vendors · 17 products
References
20 links- www.openwall.com/lists/oss-security/2017/01/25/7Mailing ListX Refsource MLISTPatchThird Party Advisory
- lists.freedesktop.org/archives/xorg/2016-December/058537.htmlMailing ListX Refsource MLISTIssue TrackingPatchThird Party Advisory
- www.openwall.com/lists/oss-security/2017/01/22/2Mailing ListX Refsource MLISTPatchThird Party AdvisoryREPORT
- cgit.freedesktop.org/xorg/lib/libXpm/commit/?id=d1167418f0fd02a27f617ec5afd6db053afbe185X Refsource CONFIRMIssue TrackingPatchThird Party Advisory