CVE-2017-13720
published 2017-10-11CVE-2017-13720: 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…
PriorityP426high7.1CVSS 3.0
AVLACLPRLUINSUCHINAH
EPSS
0.44%
35.3th percentile
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
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libxfont | < libxfont 1:2.0.1-4 (bookworm) | libxfont 1:2.0.1-4 (bookworm) |
| x.org | libxfont | <= 1.5.2 | — |
| x.org | libxfont | — | — |
| x.org | libxfont | — | — |
| x.org | libxfont | >= 0 < 1:2.0.1-4 | 1:2.0.1-4 |
| x.org | libxfont | >= 0 < 1:2.0.1-4 | 1:2.0.1-4 |
| x.org | libxfont | >= 0 < 1:2.0.1-4 | 1:2.0.1-4 |
| x.org | libxfont | >= 0 < 1:2.0.1-4 | 1:2.0.1-4 |
| x.org | libxfont | >= 0 < 1:1.4.7-1ubuntu0.3 | 1:1.4.7-1ubuntu0.3 |
| x.org | libxfont | >= 0 < 1:1.5.1-1ubuntu0.16.04.3 | 1:1.5.1-1ubuntu0.16.04.3 |
CVSS provenance
nvdv3.07.1HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
nvdv2.03.6LOWAV:L/AC:L/Au:N/C:P/I:N/A:P
osv7.1HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
vendor_ubuntu7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
libXfont vulnerabilities
vendor_ubuntu·2017-10-10·CVSS 7.1
CVE-2017-13720 [HIGH] libXfont vulnerabilities
Title: libXfont vulnerabilities
Summary: Several security issues were fixed in libXfont.
It was discovered that libXfont incorrectly handled certain patterns in
PatternMatch. A local attacker could use this issue to cause libXfont to
crash, resulting in a denial of service, or possibly obtain sensitive
information. (CVE-2017-13720)
It was discovered that libXfont incorrectly handled certain malformed PCF
files. A local attacker could use this issue to cause libXfont to crash,
resulting in a denial of service, or possibly obtain sensitive information.
(CVE-2017-13722)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
Red Hat
libXfont: Insufficient input validation in fontdir.c
vendor_redhat·2017-10-04·CVSS 7.1
CVE-2017-13720 [HIGH] CWE-20 libXfont: Insufficient input validation in fontdir.c
libXfont: Insufficient input validation in fontdir.c
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.
Package: libXfont (Red Hat Enterprise Linux 5) - Will not fix
Package: libXfont (Red Hat Enterprise Linux 6) - Will not fix
Package: libXfont (Red Hat Enterprise Linux 7) - Will not fix
Package: libXfont2 (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-13720: libxfont - In the PatternMatch function in fontfile/fontdir.c in libXfont through 1.5.2 and...
vendor_debian·2017·CVSS 7.1
CVE-2017-13720 [HIGH] CVE-2017-13720: libxfont - In the PatternMatch function in fontfile/fontdir.c in libXfont through 1.5.2 and...
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.
Scope: local
bookworm: resolved (fixed in 1:2.0.1-4)
bullseye: resolved (fixed in 1:2.0.1-4)
forky: resolved (fixed in 1:2.0.1-4)
sid: resolved (fixed in 1:2.0.1-4)
trixie: resolved (fixed in 1:2.0.1-4)
GHSA
GHSA-jrrp-87j9-7387: In the PatternMatch function in fontfile/fontdir
ghsa_unreviewed·2022-05-17
CVE-2017-13720 [HIGH] CWE-125 GHSA-jrrp-87j9-7387: In the PatternMatch function in fontfile/fontdir
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.
OSV
CVE-2017-13720: In the PatternMatch function in fontfile/fontdir
osv·2017-10-11·CVSS 7.1
CVE-2017-13720 [HIGH] CVE-2017-13720: In the PatternMatch function in fontfile/fontdir
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.
OSV
libxfont, libxfont1, libxfont2 vulnerabilities
osv·2017-10-10·CVSS 7.1
CVE-2017-13720 [HIGH] libxfont, libxfont1, libxfont2 vulnerabilities
libxfont, libxfont1, libxfont2 vulnerabilities
It was discovered that libXfont incorrectly handled certain patterns in
PatternMatch. A local attacker could use this issue to cause libXfont to
crash, resulting in a denial of service, or possibly obtain sensitive
information. (CVE-2017-13720)
It was discovered that libXfont incorrectly handled certain malformed PCF
files. A local attacker could use this issue to cause libXfont to crash,
resulting in a denial of service, or possibly obtain sensitive information.
(CVE-2017-13722)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-13720 libXfont: Insufficient input validation in fontdir.c
bugzilla·2017-10-11·CVSS 7.1
CVE-2017-13720 [HIGH] CVE-2017-13720 libXfont: Insufficient input validation in fontdir.c
CVE-2017-13720 libXfont: Insufficient input validation in fontdir.c
It was discovered that libXfont incorrectly handled certain patterns in
PatternMatch. A local attacker could use this issue to cause libXfont to
crash, resulting in a denial of service, or possibly obtain sensitive
information.
Upstream patch:
https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608
Discussion:
Created libXfont tracking bugs for this issue:
Affects: fedora-all [bug 1500695]
Created libXfont2 tracking bugs for this issue:
Affects: fedora-all [bug 1500694]
Bugzilla
CVE-2017-13720 CVE-2017-13722 libXfont: various flaws [fedora-all]
bugzilla·2017-10-11·CVSS 7.1
CVE-2017-13720 [HIGH] CVE-2017-13720 CVE-2017-13722 libXfont: various flaws [fedora-all]
CVE-2017-13720 CVE-2017-13722 libXfont: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora.
Bugzilla
CVE-2017-13720 CVE-2017-13722 libXfont2: various flaws [fedora-all]
bugzilla·2017-10-11·CVSS 7.1
CVE-2017-13720 [HIGH] CVE-2017-13720 CVE-2017-13722 libXfont2: various flaws [fedora-all]
CVE-2017-13720 CVE-2017-13722 libXfont2: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora
http://www.debian.org/security/2017/dsa-3995https://bugzilla.redhat.com/show_bug.cgi?id=1500690https://bugzilla.suse.com/show_bug.cgi?id=1054285https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608https://security.gentoo.org/glsa/201711-08https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2http://www.debian.org/security/2017/dsa-3995https://bugzilla.redhat.com/show_bug.cgi?id=1500690https://bugzilla.suse.com/show_bug.cgi?id=1054285https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608https://security.gentoo.org/glsa/201711-08https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2
2017-10-11
Published