libXfont: Insufficient input validation in fontdir.c
Published Oct 11, 2017
7.1
HIGHCVSS 3.0
EPSS 0.44%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
libXfont
Will not fix
Red Hat Enterprise Linux 6
libXfont
Will not fix
Red Hat Enterprise Linux 7
libXfont
Will not fix
Red Hat Enterprise Linux 7
libXfont2
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | libXfont | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | libXfont | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | libXfont | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | libXfont2 | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
AV:L/AC:L/Au:N/C:P/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.44% (0.00442) | 36.12th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.44% (0.00442) | 35.01th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00036) | 7.12th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.06% (0.00062) | 28.60th | v3 (v2023.03.01) |
| Jun 13, 2024 | 0.06% (0.00062) | 26.61th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00062) | 24.59th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.03% (0.01034) | 39.91th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.03% (0.01034) | 37.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.81% (0.01806) | 35.10th | v1 |
| Jan 6, 2022 | 1.81% (0.01806) | 34.40th | v1 |
| Sep 1, 2021 | 1.81% (0.01806) | 74.37th | v1 |
| Apr 14, 2021 | 1.81% (0.01806) | 0.00th | v1 |
References (9)
- http://www.debian.org/security/2017/dsa-3995 vendor-advisoryx_refsource_DEBIAN
- https://access.redhat.com/security/cve/CVE-2017-13720 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1500690 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1054285 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608 x_refsource_CONFIRMPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-13720
- https://security.gentoo.org/glsa/201711-08 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2017-13720
- https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2 x_refsource_CONFIRMVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2017/dsa-3995 | vendor-advisoryx_refsource_DEBIAN | |
| https://access.redhat.com/security/cve/CVE-2017-13720 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1500690 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://bugzilla.suse.com/show_bug.cgi?id=1054285 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-13720 | ||
| https://security.gentoo.org/glsa/201711-08 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2017-13720 | ||
| https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2 | x_refsource_CONFIRMVendor Advisory |
Change history (0)
No recorded changes yet.