{"id":"CVE-2017-13722","aliases":["DEBIAN-CVE-2017-13722","DLA-1126-1","DSA-3995-1","EUVD-2017-5239","GHSA-jv27-9g7q-7pqh","MGASA-2017-0373","SUSE-SU-2018:0246-1","SUSE-SU-2018:0334-1","UBUNTU-CVE-2017-13722","USN-3442-1","openSUSE-SU-2024:10921-1"],"status":"published","title":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0...","description":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server.","severity":{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00396,"percentile":0.34026,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-10-05T00:00:00Z","modified":"2026-10-20T10:48:11Z","fixes":[{"ecosystem":"Debian:12","package":"libxfont","fixed_in":["1:2.0.1-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libxfont","fixed_in":["1:2.0.1-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libxfont","fixed_in":["1:2.0.1-4"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"libxfont","fixed_in":["1:1.4.7-1ubuntu0.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libxfont","fixed_in":["1:1.5.1-1ubuntu0.16.04.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libxfont2","fixed_in":["1:2.0.1-3~ubuntu16.04.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libxfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.1-4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libxfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.1-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libxfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.1-4"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"libxfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.4.5-5+deb7u1"}]}],"versions":["1:1.4.5-2","1:1.4.5-3","1:1.4.5-4","1:1.4.5-5"],"bundled":2},{"source":"osv","ecosystem":"Debian:8","package":"libxfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.1-1+deb8u1"}]}],"versions":["1:1.5.1-1"],"bundled":2},{"source":"osv","ecosystem":"Debian:9","package":"libxfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.1-3+deb9u1"}]}],"versions":["1:2.0.1-3"],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"libxfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-1.1.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:6","package":"libxfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2-1.1.mga6"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:6","package":"libxfont2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-4.1.mga6"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"xorg-x11-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4-8.26.50.5.3"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"xorg-x11-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4-8.26.50.5.3"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"xorg-x11-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4-8.26.50.5.3"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-11.3.12"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-11.3.12"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-11.3.12"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-11.3.12"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-11.3.12"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-11.3.12"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-11.3.12"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-11.3.12"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-11.3.12"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libxfont","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libxfont","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libxfont2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.1-3~ubuntu16.04.2"}]}],"versions":["1:2.0.1-3~ubuntu16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libxfont","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"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libxfont","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"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libxfont2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.1-3~ubuntu16.04.2"}]}],"versions":["1:2.0.1-3~ubuntu16.04.1"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libXfont","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.4-2.18"}]}],"bundled":3}],"products":[{"vendor":"x.org","product":"libxfont"}],"references":[{"url":"https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=672bb944311392e2415b39c0d63b1e1902905bcd","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"http://www.debian.org/security/2017/dsa-3995","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"https://www.x.org/releases/individual/lib/libXfont2-2.0.2.tar.bz2","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/201711-08","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1500693","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","report"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1049692","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-13722"},{"url":"https://github.com/advisories/GHSA-jv27-9g7q-7pqh"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-13722","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0373.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21834","tags":["report"]},{"url":"https://www.debian.org/security/2017/dsa-3995","tags":["web"]},{"url":"https://usn.ubuntu.com/usn/usn-3442-1/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180246-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1049692","tags":["report"]},{"url":"https://bugzilla.suse.com/1050459","tags":["report"]},{"url":"https://bugzilla.suse.com/1054285","tags":["report"]},{"url":"https://bugzilla.suse.com/1065386","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13720","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13722","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16612","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180334-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-13722","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3442-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-13722","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13720","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16611","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-13722","description":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server.","status":"published","published":"2017-10-11T17:00:00Z","modified":"2024-08-05T19:05:20.022Z","updated_at":"2026-11-02T14:33:17.903346Z"}],"euvd":[{"id":"EUVD-2017-5239","description":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server.","status":"published","published":"2017-10-11T17:00:00Z","modified":"2024-08-05T19:05:20Z","updated_at":"2026-11-03T02:23:19.185271Z"}],"ghsa":[{"id":"GHSA-jv27-9g7q-7pqh","title":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0...","description":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server.","status":"published","published":"2022-05-17T00:24:42Z","modified":"2023-02-03T05:01:40Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:53:01.051702Z"}],"nvd":[{"id":"CVE-2017-13722","description":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server.","status":"published","published":"2017-10-11T17:29:00.35Z","modified":"2026-06-17T01:05:03.283Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:04:01.734197Z"}],"osv":[{"id":"CVE-2017-13722","description":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server.","status":"published","published":"2017-10-11T17:29:00.35Z","modified":"2026-10-20T10:48:11.41365841Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.159616Z"},{"id":"DEBIAN-CVE-2017-13722","description":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server.","status":"published","published":"2017-10-11T17:29:00.35Z","modified":"2026-09-01T20:03:43.292847738Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"UBUNTU-CVE-2017-13722","description":"In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server.","status":"published","published":"2017-10-05T00:00:00Z","modified":"2026-04-22T11:14:38.596818Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:14.122973Z"},{"id":"DLA-1126-1","title":"libxfont - security update","status":"published","published":"2017-10-07T00:00:00Z","modified":"2026-03-09T01:01:17.468013Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-3995-1","title":"libxfont - security update","status":"published","published":"2017-10-10T00:00:00Z","modified":"2026-03-09T02:11:34.1377Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2017-0373","title":"Updated libxfont packages fix security vulnerabilities","description":"In the PatternMatch function in fontfile/fontdir.c in libXfont through\n1.5.2 and 2.x before 2.0.2, an attacker with access to an X connection\ncan cause a buffer over-read during pattern matching of fonts, leading\nto information disclosure or a crash (denial of service). This occurs\nbecause '\\0' characters are incorrectly skipped in situations involving\n? characters. (CVE-2017-13720)\n\nIn the pcfGetProperties function in bitmap/pcfread.c in libXfont through\n1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files)\ncould be used by local attackers authenticated to an Xserver for a\nbuffer over-read, for information disclosure or a crash of the X server.\n(CVE-2017-13722)\n","status":"published","published":"2017-10-18T20:19:34Z","modified":"2026-04-16T06:22:55.105916355Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2024:10921-1","title":"libXfont-devel-1.5.4-2.18 on GA media","description":"These are all security issues fixed in the libXfont-devel-1.5.4-2.18 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:51:20.582531Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"SUSE-SU-2018:0246-1","title":"Security update for xorg-x11-libs","description":"This update for xorg-x11-libs fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2017-16612: Heap overflows due to an integer overflow while parsing images and a signedness issue while parsing comments (bsc#1065386).\n- CVE-2017-13720: Improper check for end of string in PatterMatch caused invalid reads (bsc#1054285)\n- CVE-2017-13722: Malformed PCF file could have caused DoS or leak information (bsc#1049692)\n- Prevent the X server from accessing arbitrary files as root. It is not possible to leak information, but special files can be touched allowing for causing side effects (bsc#1050459)\n","status":"published","published":"2018-01-26T16:41:13Z","modified":"2026-02-04T02:49:29.816459Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2018:0334-1","title":"Security update for libXfont","description":"This update for libXfont fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2017-13720: Improper check for end of string in PatterMatch caused invalid reads (bsc#1054285)\n- CVE-2017-13722: Malformed PCF file could have caused DoS or leak information (bsc#1049692)\n- Prevent the X server from accessing arbitrary files as root. It is not possible to leak information, but special files can be touched allowing for causing side effects (bsc#1050459)\n","status":"published","published":"2018-02-01T08:32:20Z","modified":"2026-02-04T02:54:11.751833Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"USN-3442-1","title":"libxfont, libxfont1, libxfont2 vulnerabilities","description":"It was discovered that libXfont incorrectly handled certain patterns in\nPatternMatch. A local attacker could use this issue to cause libXfont to\ncrash, resulting in a denial of service, or possibly obtain sensitive\ninformation. (CVE-2017-13720)\n\nIt was discovered that libXfont incorrectly handled certain malformed PCF\nfiles. A local attacker could use this issue to cause libXfont to crash,\nresulting in a denial of service, or possibly obtain sensitive information.\n(CVE-2017-13722)\n","status":"published","published":"2017-10-10T13:02:08Z","modified":"2026-04-22T09:39:31.602956Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
