X.Org Foundation · Libxfont · CVE-2017-13720
**Name of the Vulnerable Software and Affected Versions**
libXfont versions 1.5.2 and earlier
libXfont versions 2.x prior to 2.0.2
**Description**
The issue arises from incorrect handling of '0' characters in the PatternMatch function in fontfile/fontdir.c, specifically when '?' characters are involved. This can lead to a buffer over-read during font pattern matching, potentially causing information disclosure or a crash, resulting in denial of service. An attacker would need access to an X connection to exploit this.
**Recommendations**
For libXfont version 1.5.2 and earlier, update to version 2.0.2 or later.
For libXfont version 2.x prior to 2.0.2, update to version 2.0.2 or later.