Out-of-bounds Read Affecting libxfont package, versions [,1.5.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (38th 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 Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBXFONT-2367876
  • published26 Jan 2022
  • disclosed11 Oct 2017
  • creditUnknown

Introduced: 11 Oct 2017

CVE-2017-13720  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade libxfont to version 1.5.3 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. In the PatternMatch function in fontfile/fontdir.c in libXfont through 1.5.2 and 2.x before 2.0.2, an attacker with access to an X connection can cause a buffer over-read during pattern matching of fonts, leading to information disclosure or a crash (denial of service). This occurs because '\0' characters are incorrectly skipped in situations involving ? characters.

References

CVSS Base Scores

version 3.1