CVE-2017-13720

NameCVE-2017-13720
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1126-1, DSA-3995-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxfont (PTS)jessie, jessie (lts)1:1.5.1-1+deb8u2fixed
stretch (security), stretch (lts), stretch1:2.0.1-3+deb9u2fixed
buster1:2.0.3-1fixed
bullseye1:2.0.4-1fixed
sid, trixie, bookworm1:2.0.6-1fixed
libxfont1 (PTS)stretch1:1.5.2-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxfontsourcewheezy1:1.4.5-5+deb7u1DLA-1126-1
libxfontsourcejessie1:1.5.1-1+deb8u1DSA-3995-1
libxfontsourcestretch1:2.0.1-3+deb9u1DSA-3995-1
libxfontsource(unstable)1:2.0.1-4
libxfont1source(unstable)(unfixed)unimportant

Notes

Fixed by: https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608
libxfont1 is only used by xfonts-utils, no security impact

Search for package or bug name: Reporting problems