Out-of-bounds Read Affecting libxfont package, versions <1:2.0.1-4


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. 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 IDSNYK-ECHOLATEST-LIBXFONT-17966125
  • published14 Jul 2026
  • 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 Echo:latest libxfont to version 1:2.0.1-4 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 Echo. See How to fix? for Echo:latest 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.