{"api_version":"1","generated_at":"2026-04-22T23:40:39+00:00","cve":"CVE-2017-13720","urls":{"html":"https://cve.report/CVE-2017-13720","api":"https://cve.report/api/cve/CVE-2017-13720.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-13720","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-13720"},"summary":{"title":"CVE-2017-13720","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-10-11 17:29:00","updated_at":"2017-11-13 02:29:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1054285","name":"https://bugzilla.suse.com/show_bug.cgi?id=1054285","refsource":"CONFIRM","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug 1054285 – VUL-1: CVE-2017-13720: libXfont: string overread / Check for end of string in PatterMatch.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201711-08","name":"GLSA-201711-08","refsource":"GENTOO","tags":[],"title":"LibXfont, LibXfont2: Multiple vulnerabilities (GLSA 201711-08) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2017/dsa-3995","name":"DSA-3995","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-3995-1 libxfont","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2","name":"https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2","refsource":"CONFIRM","tags":["Vendor Advisory"],"title":"","mime":"application/x-bzip2","httpstatus":"200","archivestatus":"200"},{"url":"https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608","name":"https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"xorg/lib/libXfont - X font handling library for server & utilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1500690","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1500690","refsource":"CONFIRM","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug 1500690 – CVE-2017-13720 libXfont: Insufficient input validation in fontdir.c","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-13720","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-13720","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"13720","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"x.org","cpe5":"libxfont","cpe6":"2.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"13720","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"x.org","cpe5":"libxfont","cpe6":"2.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"13720","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"x.org","cpe5":"libxfont","cpe6":"2.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"13720","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"x.org","cpe5":"libxfont","cpe6":"2.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"13720","vulnerable":"1","versionEndIncluding":"1.5.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"x.org","cpe5":"libxfont","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-13720","qid":"710462","title":"Gentoo Linux LibXfont, LibXfont2 Multiple Vulnerabilities (GLSA 201711-08)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-13720","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"DSA-3995","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-3995"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1500690","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1500690"},{"name":"https://bugzilla.suse.com/show_bug.cgi?id=1054285","refsource":"CONFIRM","url":"https://bugzilla.suse.com/show_bug.cgi?id=1054285"},{"name":"https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2","refsource":"CONFIRM","url":"https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2"},{"name":"GLSA-201711-08","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201711-08"},{"name":"https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608","refsource":"CONFIRM","url":"https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d1e670a4a8704b8708e493ab6155589bcd570608"}]}},"nvd":{"publishedDate":"2017-10-11 17:29:00","lastModifiedDate":"2017-11-13 02:29:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":3.6},"severity":"LOW","exploitabilityScore":3.9,"impactScore":4.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:x.org:libxfont:2.0.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:x.org:libxfont:2.0.1:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:x.org:libxfont:*:*:*:*:*:*:*:*","versionEndIncluding":"1.5.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"13720","Ordinal":"111140","Title":"CVE-2017-13720","CVE":"CVE-2017-13720","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"13720","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"13720","Ordinal":"2","NoteData":"2017-10-11","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"13720","Ordinal":"3","NoteData":"2017-11-12","Type":"Other","Title":"Modified"}]}}}