Out-of-bounds read in libXfont - CVE-2017-13720

 

Out-of-bounds read in libXfont - CVE-2017-13720

Published: October 11, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU38075
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-13720
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local authenticated user to #BASIC_IMPACT#.

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 '' characters are incorrectly skipped in situations involving ? characters.


Affected software

libXfont
Gentoo Linux
Fedora
libXfont

How to mitigate CVE-2017-13720

Install update from vendor's website.

libXfont - addressed in versions 1.5.2-5.fc25, 1.5.2-5.fc26, 1.5.2-5.fc27

External References

Related Security Bulletins