Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| X.Org | Libxfont | <= 1.5.2 |
Related Weaknesses (CWE)
References
- http://www.debian.org/security/2017/dsa-3995
- https://bugzilla.redhat.com/show_bug.cgi?id=1500690Issue TrackingThird Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1054285Issue TrackingThird Party Advisory
- https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493PatchThird Party Advisory
- https://security.gentoo.org/glsa/201711-08
- https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2Vendor Advisory
- http://www.debian.org/security/2017/dsa-3995
- https://bugzilla.redhat.com/show_bug.cgi?id=1500690Issue TrackingThird Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1054285Issue TrackingThird Party Advisory
- https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493PatchThird Party Advisory
- https://security.gentoo.org/glsa/201711-08
- https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2Vendor Advisory
FAQ
What is CVE-2017-13720?
CVE-2017-13720 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 fo...
How severe is CVE-2017-13720?
CVE-2017-13720 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-13720?
Check the references section above for vendor advisories and patch information. Affected products include: X.Org Libxfont.