| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1126-1, DSA-3995-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libxfont (PTS) | bullseye | 1:2.0.4-1 | fixed |
| bullseye (security) | 1:2.0.4-1+deb11u1 | fixed | |
| bookworm, trixie | 1:2.0.6-1 | fixed | |
| bookworm (security) | 1:2.0.6-1+deb12u1 | fixed | |
| forky | 1:2.0.6-2 | fixed | |
| sid | 1:2.0.8-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libxfont | source | wheezy | 1:1.4.5-5+deb7u1 | DLA-1126-1 | ||
| libxfont | source | jessie | 1:1.5.1-1+deb8u1 | DSA-3995-1 | ||
| libxfont | source | stretch | 1:2.0.1-3+deb9u1 | DSA-3995-1 | ||
| libxfont | source | (unstable) | 1:2.0.1-4 | |||
| libxfont1 | source | (unstable) | (unfixed) | unimportant |
Fixed by: https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608
libxfont1 is only used by xfonts-utils, no security impact