Vulnerabilities · 2017 · X.org
CVE-2017-13720
X.org Libxfont vulnerability
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.
Affected products
Libxfont. The exact versions are in the references.
What to do now
- Check your exposureFind out whether X.org Libxfont runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2 · Vendor Advisory
- cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=1500690 · Third Party Advisory
- bugzilla.suse.com/show_bug.cgi?id=1054285 · Third Party Advisory
- www.debian.org/security/2017/dsa-3995
- security.gentoo.org/glsa/201711-08
- nvd.nist.gov/vuln/detail/CVE-2017-13720
- cve.org/CVERecord?id=CVE-2017-13720
More vulnerabilities in X.org products
CVE-2025-26601CVE-2025-26600CVE-2025-26599CVE-2025-26598CVE-2025-26597CVE-2025-26596CVE-2025-26595CVE-2025-26594All 152
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.