
CVE catalog
CVE-2017-13720
libxfont: CVE-2017-13720
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.44% · Oct 22, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libxfont | sid | 1:2.0.9-1 | fixed |
| Debian | libxfont | forky | 1:2.0.9-1 | fixed |
| Debian | libxfont | trixie | 1:2.0.6-1+deb13u1 | fixed |
| Debian | libxfont | trixie-security | 1:2.0.6-1+deb13u1 | fixed |
| Debian | libxfont | bookworm | 1:2.0.6-1 | fixed |
| Debian | libxfont | bookworm-security | 1:2.0.6-1+deb12u1 | fixed |
| Ubuntu | libxfont | 14.04 | 1:1.4.6-1 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.6-1ubuntu1 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.7-1 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.7-1ubuntu0.1 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.7-1ubuntu0.2 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.7-1ubuntu0.3 | fixed |
| Ubuntu | libxfont | 16.04 | 1:1.5.1-1 | vulnerable |
| Ubuntu | libxfont | 16.04 | 1:1.5.1-1ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libxfont | 16.04 | 1:1.5.1-1ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libxfont | 16.04 | 1:1.5.1-1ubuntu0.16.04.3 | fixed |
| Ubuntu | libxfont2 | 16.04 | 1:2.0.1-3~ubuntu16.04.1 | vulnerable |
| Ubuntu | libxfont2 | 16.04 | 1:2.0.1-3~ubuntu16.04.2 | fixed |
| Ubuntu | libxfont | 14.04 | 1:1.4.6-1 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.6-1ubuntu1 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.7-1 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.7-1ubuntu0.1 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.7-1ubuntu0.2 | vulnerable |
| Ubuntu | libxfont | 14.04 | 1:1.4.7-1ubuntu0.3 | fixed |
| Ubuntu | libxfont | 16.04 | 1:1.5.1-1 | vulnerable |
| Ubuntu | libxfont | 16.04 | 1:1.5.1-1ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libxfont | 16.04 | 1:1.5.1-1ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libxfont | 16.04 | 1:1.5.1-1ubuntu0.16.04.3 | fixed |
| Ubuntu | libxfont2 | 16.04 | 1:2.0.1-3~ubuntu16.04.1 | vulnerable |
| Ubuntu | libxfont2 | 16.04 | 1:2.0.1-3~ubuntu16.04.2 | fixed |
| Opensuse | libXfont | tumbleweed | 1.5.4-2.18 | fixed |
| Suse | libXfont | linux enterprise desktop 12 sp2 | 1.5.1-11.3.12 | fixed |
| Suse | libXfont | linux enterprise desktop 12 sp3 | 1.5.1-11.3.12 | fixed |
| Suse | libXfont | linux enterprise server for raspberry pi 12 sp2 | 1.5.1-11.3.12 | fixed |
| Suse | libXfont | linux enterprise software development kit 12 sp2 | 1.5.1-11.3.12 | fixed |
| Suse | libXfont | linux enterprise software development kit 12 sp3 | 1.5.1-11.3.12 | fixed |
| Suse | libXfont | linux enterprise server 12 sp2 | 1.5.1-11.3.12 | fixed |
| Suse | libXfont | linux enterprise server for sap applications 12 sp2 | 1.5.1-11.3.12 | fixed |
| Suse | libXfont | linux enterprise server 12 sp3 | 1.5.1-11.3.12 | fixed |
| Suse | libXfont | linux enterprise server for sap applications 12 sp3 | 1.5.1-11.3.12 | fixed |
| Suse | xorg-x11-libs | linux enterprise software development kit 11 sp4 | 7.4-8.26.50.5.3 | fixed |
| Suse | xorg-x11-libs | linux enterprise server 11 sp4 | 7.4-8.26.50.5.3 | fixed |
| Suse | xorg-x11-libs | linux enterprise server for sap applications 11 sp4 | 7.4-8.26.50.5.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libxfont | source | sid | 1:2.0.1-4 | not yet assigned | Not reported | Not reported |
| Debian | libxfont | source | forky | 1:2.0.1-4 | not yet assigned | Not reported | Not reported |
| Debian | libxfont | source | trixie | 1:2.0.1-4 | not yet assigned | Not reported | Not reported |
| Debian | libxfont | source | bookworm | 1:2.0.1-4 | not yet assigned | Not reported | Not reported |
| Ubuntu | libxfont | deb | 14.04 | 1:1.4.7-1ubuntu0.3 | Not reported | UBUNTU-CVE-2017-13720 | Not reported |
| Ubuntu | libxfont | deb | 16.04 | 1:1.5.1-1ubuntu0.16.04.3 | Not reported | UBUNTU-CVE-2017-13720 | Not reported |
| Ubuntu | libxfont2 | deb | 16.04 | 1:2.0.1-3~ubuntu16.04.2 | Not reported | UBUNTU-CVE-2017-13720 | Not reported |
| Ubuntu | libxfont | deb | 14.04 | 1:1.4.7-1ubuntu0.3 | Not reported | USN-3442-1 | Not reported |
| Ubuntu | libxfont | deb | 16.04 | 1:1.5.1-1ubuntu0.16.04.3 | Not reported | USN-3442-1 | Not reported |
| Ubuntu | libxfont2 | deb | 16.04 | 1:2.0.1-3~ubuntu16.04.2 | Not reported | USN-3442-1 | Not reported |
| Opensuse | libXfont | rpm | tumbleweed | 1.5.4-2.18 | Not reported | OPENSUSE-SU-2024:10921-1 | Not reported |
| Suse | libXfont | rpm | linux enterprise desktop 12 sp2 | 1.5.1-11.3.12 | Not reported | SUSE-SU-2018:0334-1 | Not reported |
| Suse | libXfont | rpm | linux enterprise desktop 12 sp3 | 1.5.1-11.3.12 | Not reported | SUSE-SU-2018:0334-1 | Not reported |
| Suse | libXfont | rpm | linux enterprise server for raspberry pi 12 sp2 | 1.5.1-11.3.12 | Not reported | SUSE-SU-2018:0334-1 | Not reported |
| Suse | libXfont | rpm | linux enterprise software development kit 12 sp2 | 1.5.1-11.3.12 | Not reported | SUSE-SU-2018:0334-1 | Not reported |
| Suse | libXfont | rpm | linux enterprise software development kit 12 sp3 | 1.5.1-11.3.12 | Not reported | SUSE-SU-2018:0334-1 | Not reported |
| Suse | libXfont | rpm | linux enterprise server 12 sp2 | 1.5.1-11.3.12 | Not reported | SUSE-SU-2018:0334-1 | Not reported |
| Suse | libXfont | rpm | linux enterprise server for sap applications 12 sp2 | 1.5.1-11.3.12 | Not reported | SUSE-SU-2018:0334-1 | Not reported |
| Suse | libXfont | rpm | linux enterprise server 12 sp3 | 1.5.1-11.3.12 | Not reported | SUSE-SU-2018:0334-1 | Not reported |
| Suse | libXfont | rpm | linux enterprise server for sap applications 12 sp3 | 1.5.1-11.3.12 | Not reported | SUSE-SU-2018:0334-1 | Not reported |
| Suse | xorg-x11-libs | rpm | linux enterprise software development kit 11 sp4 | 7.4-8.26.50.5.3 | Not reported | SUSE-SU-2018:0246-1 | Not reported |
| Suse | xorg-x11-libs | rpm | linux enterprise server 11 sp4 | 7.4-8.26.50.5.3 | Not reported | SUSE-SU-2018:0246-1 | Not reported |
| Suse | xorg-x11-libs | rpm | linux enterprise server for sap applications 11 sp4 | 7.4-8.26.50.5.3 | Not reported | SUSE-SU-2018:0246-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libxfont2]Unknown
Source package: [libxfont]
Details (4)
1:2.0.6-1· amd64 · bookwormFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12
1:2.0.6-1· arm64 · bookwormFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12
1:2.0.6-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12
1:2.0.6-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12
- [libxfont-dev]Unknown
Source package: [libxfont]
Details (4)
1:2.0.6-1· amd64 · bookwormFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12
1:2.0.6-1· arm64 · bookwormFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12
1:2.0.6-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12
1:2.0.6-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12
[Debian 13 (Trixie)]
- [libxfont2]Unknown
Source package: [libxfont]
Details (4)
1:2.0.6-1+b3· amd64 · trixieFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · 13
1:2.0.6-1+b3· arm64 · trixieFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · 13
1:2.0.6-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · 13
1:2.0.6-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · 13
- [libxfont-dev]Unknown
Source package: [libxfont]
Details (4)
1:2.0.6-1+b3· amd64 · trixieFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · 13
1:2.0.6-1+b3· arm64 · trixieFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · 13
1:2.0.6-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · 13
1:2.0.6-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1:2.0.1-4dsa · libxfont · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-13720]
- [https://osv.dev/vulnerability/DLA-1126-1]
- [https://osv.dev/vulnerability/DSA-3995-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:0246-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:0334-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-13720]
- [https://osv.dev/vulnerability/USN-3442-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:10921-1]
- [https://security-tracker.debian.org/tracker/CVE-2017-13720]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]