Name | CVE-2017-13720 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1126-1, DSA-3995-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libxfont (PTS) | jessie, jessie (lts) | 1:1.5.1-1+deb8u2 | fixed |
| stretch (security), stretch (lts), stretch | 1:2.0.1-3+deb9u2 | fixed |
| buster | 1:2.0.3-1 | fixed |
| bullseye | 1:2.0.4-1 | fixed |
| sid, trixie, bookworm | 1:2.0.6-1 | fixed |
libxfont1 (PTS) | stretch | 1:1.5.2-4 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
Fixed by: https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608
libxfont1 is only used by xfonts-utils, no security impact