{"schemaVersion":3,"id":"CVE-2017-13720","aliases":["UBUNTU-CVE-2017-13720","DEBIAN-CVE-2017-13720"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-10-11T17:00:00.000Z","modified":"2024-08-05T19:05:20.077Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.6,"severity":"low","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.1,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","exploitability":4.6,"impact":8.7,"computed":true}]},"epss":{"probability":0.00442,"percentile":0.37081,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00442},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00442,"percentile":0.37081}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00442,"percentile":0.37081}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"debian","product":"libxfont","name":"libxfont","label":"libxfont","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libxfont","purlType":"deb","versions":[{"text":"< 1:2.0.1-4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.0.1-4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libxfont","name":"libxfont","label":"libxfont","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libxfont","purlType":"deb","versions":[{"text":"< 1:1.4.7-1ubuntu0.3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:1.5.1-1ubuntu0.16.04.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:1.4.7-1ubuntu0.3 | < 1:1.5.1-1ubuntu0.16.04.3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libxfont2","name":"libxfont2","label":"libxfont2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libxfont2","purlType":"deb","versions":[{"text":"< 1:2.0.1-3~ubuntu16.04.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.0.1-3~ubuntu16.04.2","eol":null,"hubHref":null},{"vendor":"x.org","product":"libxfont","name":"libxfont","label":"libxfont","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.5.2","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0","noFixRecorded":false,"fixedIn":null},{"text":"2.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.5.2 | 2.0.0 | 2.0.1","eol":null,"hubHref":"/vendor/xorg/libxfont"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.debian.org/security/2017/dsa-3995","label":"www.debian.org/security/2017/dsa-3995","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1500690","label":"bugzilla.redhat.com/show_bug.cgi?id=1500690","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1054285","label":"bugzilla.suse.com/show_bug.cgi?id=1054285","hostname":"bugzilla.suse.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory"]},{"url":"https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2","label":"www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2","hostname":"www.x.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/201711-08","label":"security.gentoo.org/glsa/201711-08","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608","label":"cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608","hostname":"cgit.freedesktop.org","tags":["X Refsource CONFIRM","Patch","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-13720","label":"ubuntu.com/security/CVE-2017-13720","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3442-1","label":"ubuntu.com/security/notices/USN-3442-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-13720","label":"www.cve.org/CVERecord?id=CVE-2017-13720","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-13720","label":"security-tracker.debian.org/tracker/CVE-2017-13720","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1126-1","DSA-3995-1","MGASA-2017-0373","OPENSUSE-SU-2024:10921-1","SUSE-SU-2018:0246-1","SUSE-SU-2018:0334-1","USN-3442-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10921-1","SUSE-SU-2018:0246-1","SUSE-SU-2018:0334-1","USN-3442-1"]},"timeline":[{"kind":"published","date":"2017-10-11T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T19:05:20.077Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:02:57.281Z","stale":false,"partial":false}}