Out-of-bounds Read Affecting libxfont package, versions <1:1.5.1-1ubuntu0.16.04.3


Severity

Recommended
low

Based on Ubuntu security rating.

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 IDSNYK-UBUNTU1604-LIBXFONT-313139
  • published11 Oct 2017
  • disclosed11 Oct 2017

Introduced: 11 Oct 2017

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

How to fix?

Upgrade Ubuntu:16.04 libxfont to version 1:1.5.1-1ubuntu0.16.04.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxfont package and not the libxfont package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.