{"id":"UBUNTU-CVE-2017-13720","details":"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.","modified":"2026-04-22T11:14:10.752019Z","published":"2017-10-05T00:00:00Z","related":["USN-3442-1"],"upstream":["CVE-2017-13720"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-13720"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3442-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-13720"}],"affected":[{"package":{"name":"libxfont","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libxfont@1:1.4.7-1ubuntu0.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.4.7-1ubuntu0.3"}]}],"versions":["1:1.4.6-1","1:1.4.6-1ubuntu1","1:1.4.7-1","1:1.4.7-1ubuntu0.1","1:1.4.7-1ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.4.7-1ubuntu0.3","binary_name":"libxfont1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-13720.json"}},{"package":{"name":"libxfont","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libxfont@1:1.5.1-1ubuntu0.16.04.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.1-1ubuntu0.16.04.3"}]}],"versions":["1:1.5.1-1","1:1.5.1-1ubuntu0.16.04.1","1:1.5.1-1ubuntu0.16.04.2"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.5.1-1ubuntu0.16.04.3","binary_name":"libxfont1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-13720.json"}},{"package":{"name":"libxfont2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libxfont2@1:2.0.1-3~ubuntu16.04.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.1-3~ubuntu16.04.2"}]}],"versions":["1:2.0.1-3~ubuntu16.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:2.0.1-3~ubuntu16.04.2","binary_name":"libxfont2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-13720.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}