CVE catalog

CVE-2017-13720

libxfont: CVE-2017-13720

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianlibxfontsid1:2.0.9-1fixed
Debianlibxfontforky1:2.0.9-1fixed
Debianlibxfonttrixie1:2.0.6-1+deb13u1fixed
Debianlibxfonttrixie-security1:2.0.6-1+deb13u1fixed
Debianlibxfontbookworm1:2.0.6-1fixed
Debianlibxfontbookworm-security1:2.0.6-1+deb12u1fixed
Ubuntulibxfont14.041:1.4.6-1vulnerable
Ubuntulibxfont14.041:1.4.6-1ubuntu1vulnerable
Ubuntulibxfont14.041:1.4.7-1vulnerable
Ubuntulibxfont14.041:1.4.7-1ubuntu0.1vulnerable
Ubuntulibxfont14.041:1.4.7-1ubuntu0.2vulnerable
Ubuntulibxfont14.041:1.4.7-1ubuntu0.3fixed
Ubuntulibxfont16.041:1.5.1-1vulnerable
Ubuntulibxfont16.041:1.5.1-1ubuntu0.16.04.1vulnerable
Ubuntulibxfont16.041:1.5.1-1ubuntu0.16.04.2vulnerable
Ubuntulibxfont16.041:1.5.1-1ubuntu0.16.04.3fixed
Ubuntulibxfont216.041:2.0.1-3~ubuntu16.04.1vulnerable
Ubuntulibxfont216.041:2.0.1-3~ubuntu16.04.2fixed
Ubuntulibxfont14.041:1.4.6-1vulnerable
Ubuntulibxfont14.041:1.4.6-1ubuntu1vulnerable
Ubuntulibxfont14.041:1.4.7-1vulnerable
Ubuntulibxfont14.041:1.4.7-1ubuntu0.1vulnerable
Ubuntulibxfont14.041:1.4.7-1ubuntu0.2vulnerable
Ubuntulibxfont14.041:1.4.7-1ubuntu0.3fixed
Ubuntulibxfont16.041:1.5.1-1vulnerable
Ubuntulibxfont16.041:1.5.1-1ubuntu0.16.04.1vulnerable
Ubuntulibxfont16.041:1.5.1-1ubuntu0.16.04.2vulnerable
Ubuntulibxfont16.041:1.5.1-1ubuntu0.16.04.3fixed
Ubuntulibxfont216.041:2.0.1-3~ubuntu16.04.1vulnerable
Ubuntulibxfont216.041:2.0.1-3~ubuntu16.04.2fixed
OpensuselibXfonttumbleweed1.5.4-2.18fixed
SuselibXfontlinux enterprise desktop 12 sp21.5.1-11.3.12fixed
SuselibXfontlinux enterprise desktop 12 sp31.5.1-11.3.12fixed
SuselibXfontlinux enterprise server for raspberry pi 12 sp21.5.1-11.3.12fixed
SuselibXfontlinux enterprise software development kit 12 sp21.5.1-11.3.12fixed
SuselibXfontlinux enterprise software development kit 12 sp31.5.1-11.3.12fixed
SuselibXfontlinux enterprise server 12 sp21.5.1-11.3.12fixed
SuselibXfontlinux enterprise server for sap applications 12 sp21.5.1-11.3.12fixed
SuselibXfontlinux enterprise server 12 sp31.5.1-11.3.12fixed
SuselibXfontlinux enterprise server for sap applications 12 sp31.5.1-11.3.12fixed
Susexorg-x11-libslinux enterprise software development kit 11 sp47.4-8.26.50.5.3fixed
Susexorg-x11-libslinux enterprise server 11 sp47.4-8.26.50.5.3fixed
Susexorg-x11-libslinux enterprise server for sap applications 11 sp47.4-8.26.50.5.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibxfontsourcesid1:2.0.1-4not yet assignedNot reportedNot reported
Debianlibxfontsourceforky1:2.0.1-4not yet assignedNot reportedNot reported
Debianlibxfontsourcetrixie1:2.0.1-4not yet assignedNot reportedNot reported
Debianlibxfontsourcebookworm1:2.0.1-4not yet assignedNot reportedNot reported
Ubuntulibxfontdeb14.041:1.4.7-1ubuntu0.3Not reportedUBUNTU-CVE-2017-13720Not reported
Ubuntulibxfontdeb16.041:1.5.1-1ubuntu0.16.04.3Not reportedUBUNTU-CVE-2017-13720Not reported
Ubuntulibxfont2deb16.041:2.0.1-3~ubuntu16.04.2Not reportedUBUNTU-CVE-2017-13720Not reported
Ubuntulibxfontdeb14.041:1.4.7-1ubuntu0.3Not reportedUSN-3442-1Not reported
Ubuntulibxfontdeb16.041:1.5.1-1ubuntu0.16.04.3Not reportedUSN-3442-1Not reported
Ubuntulibxfont2deb16.041:2.0.1-3~ubuntu16.04.2Not reportedUSN-3442-1Not reported
OpensuselibXfontrpmtumbleweed1.5.4-2.18Not reportedOPENSUSE-SU-2024:10921-1Not reported
SuselibXfontrpmlinux enterprise desktop 12 sp21.5.1-11.3.12Not reportedSUSE-SU-2018:0334-1Not reported
SuselibXfontrpmlinux enterprise desktop 12 sp31.5.1-11.3.12Not reportedSUSE-SU-2018:0334-1Not reported
SuselibXfontrpmlinux enterprise server for raspberry pi 12 sp21.5.1-11.3.12Not reportedSUSE-SU-2018:0334-1Not reported
SuselibXfontrpmlinux enterprise software development kit 12 sp21.5.1-11.3.12Not reportedSUSE-SU-2018:0334-1Not reported
SuselibXfontrpmlinux enterprise software development kit 12 sp31.5.1-11.3.12Not reportedSUSE-SU-2018:0334-1Not reported
SuselibXfontrpmlinux enterprise server 12 sp21.5.1-11.3.12Not reportedSUSE-SU-2018:0334-1Not reported
SuselibXfontrpmlinux enterprise server for sap applications 12 sp21.5.1-11.3.12Not reportedSUSE-SU-2018:0334-1Not reported
SuselibXfontrpmlinux enterprise server 12 sp31.5.1-11.3.12Not reportedSUSE-SU-2018:0334-1Not reported
SuselibXfontrpmlinux enterprise server for sap applications 12 sp31.5.1-11.3.12Not reportedSUSE-SU-2018:0334-1Not reported
Susexorg-x11-libsrpmlinux enterprise software development kit 11 sp47.4-8.26.50.5.3Not reportedSUSE-SU-2018:0246-1Not reported
Susexorg-x11-libsrpmlinux enterprise server 11 sp47.4-8.26.50.5.3Not reportedSUSE-SU-2018:0246-1Not reported
Susexorg-x11-libsrpmlinux enterprise server for sap applications 11 sp47.4-8.26.50.5.3Not reportedSUSE-SU-2018:0246-1Not 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 · bookworm

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1 · arm64 · bookworm

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

  • [libxfont-dev]Unknown

    Source package: [libxfont]

    Details (4)
    • 1:2.0.6-1 · amd64 · bookworm

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1 · arm64 · bookworm

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

    • 1:2.0.6-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · bookworm; dsa · libxfont · debian · 12

[Debian 13 (Trixie)]

  • [libxfont2]Unknown

    Source package: [libxfont]

    Details (4)
    • 1:2.0.6-1+b3 · amd64 · trixie

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+b3 · arm64 · trixie

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · 13

  • [libxfont-dev]Unknown

    Source package: [libxfont]

    Details (4)
    • 1:2.0.6-1+b3 · amd64 · trixie

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+b3 · arm64 · trixie

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · 13

    • 1:2.0.6-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1:2.0.1-4

      dsa · libxfont · debian · 13

Observed:

References