Out-of-Bounds Affecting freedesktop/libxpm package, versions [0,3.5.12)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
7.59% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FREEDESKTOPLIBXPM-2366352
  • published26 Jan 2022
  • disclosed1 Feb 2017
  • creditUnknown

Introduced: 1 Feb 2017

CVE-2016-10164  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade freedesktop/libxpm to version 3.5.12 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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 Base Scores

version 3.1