Vulnerability record · CVE-2017-13720 · published 11 October 2017
CVE-2017-13720: X.org libxfont out-of-bounds read vulnerability
XX.Org · Libxfont
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.
Description
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.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.debian.org/security/2017/dsa-3995 | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1500690 | Issue TrackingThird Party Advisory |
| https://bugzilla.suse.com/show_bug.cgi?id=1054285 | Issue TrackingThird Party Advisory |
| https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608 | PatchThird Party Advisory |
| https://security.gentoo.org/glsa/201711-08 | |
| https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2 | Vendor Advisory |
| http://www.debian.org/security/2017/dsa-3995 | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1500690 | Issue TrackingThird Party Advisory |
| https://bugzilla.suse.com/show_bug.cgi?id=1054285 | Issue TrackingThird Party Advisory |
| https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608 | PatchThird Party Advisory |
| https://security.gentoo.org/glsa/201711-08 | |
| https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2 | Vendor Advisory |
Track CVE-2017-13720 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-13720), CISA KEV, FIRST EPSS (scores of 2026-11-18). This page is refreshed as NVD updates the record.