{"id":"CVE-2018-9918","aliases":["DEBIAN-CVE-2018-9918","EUVD-2018-21510","GHSA-mcgj-mgj8-8cr3","MGASA-2018-0232","SUSE-SU-2024:2173-1","UBUNTU-CVE-2018-9918","USN-3638-1"],"status":"published","title":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name...","description":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name object\" cases, allowing remote attackers to cause a denial of service (stack exhaustion), related to the QPDFObjectHandle and QPDF_Dictionary classes, because nesting in direct objects is not restricted.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01673,"percentile":0.76995,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-674"],"published":"2018-04-10T00:00:00Z","modified":"2026-10-23T18:03:48Z","fixes":[{"ecosystem":"Debian:12","package":"qpdf","fixed_in":["8.0.2-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"qpdf","fixed_in":["8.0.2-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"qpdf","fixed_in":["8.0.2-3"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"qpdf","fixed_in":["7.1.1-1.1.mga5"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"qpdf","fixed_in":["7.1.1-1.1.mga6"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"qpdf","fixed_in":["7.1.1-3.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"qpdf","fixed_in":["7.1.1-3.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"qpdf","fixed_in":["7.1.1-3.11.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"qpdf","fixed_in":["8.0.2-3~14.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"qpdf","fixed_in":["8.0.2-3~16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.2-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.2-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.2-3"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.1-1.1.mga5"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.1-1.1.mga6"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.1-3.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.1-3.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.1-3.11.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.2-3~14.04.1"}]}],"versions":["4.2.0-2","5.0.1-1","5.0.1-1ubuntu1","5.1.0-1","5.1.1-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.2-3~16.04.1"}]}],"versions":["5.1.3-2","5.1.3-3","5.2.0-1","5.2.0-2","6.0.0-2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.2-3~14.04.1"}]}],"versions":["4.2.0-2","5.0.1-1","5.0.1-1ubuntu1","5.1.0-1","5.1.1-1"],"bundled":14},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.2-3~16.04.1"}]}],"versions":["5.1.3-2","5.1.3-3","5.2.0-1","5.2.0-2","6.0.0-2"],"bundled":14}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"qpdf_project","product":"qpdf"}],"references":[{"url":"https://usn.ubuntu.com/3638-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/qpdf/qpdf/commit/b4d6cf6836ce025ba1811b7bbec52680c7204223","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"https://github.com/qpdf/qpdf/issues/202","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-9918"},{"url":"https://github.com/advisories/GHSA-mcgj-mgj8-8cr3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-9918","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0232.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22961","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/I4ZEBKAKN5LJYYF7ZALERVHHMBSTN2ET/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20242173-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1089090","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9918","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-9918","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3638-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-9918","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-9252","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9208","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9209","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9210","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11624","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11625","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11626","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11627","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-12595","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-18183","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-18184","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-18185","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-18186","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-9918","description":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name object\" cases, allowing remote attackers to cause a denial of service (stack exhaustion), related to the QPDFObjectHandle and QPDF_Dictionary classes, because nesting in direct objects is not restricted.","status":"published","published":"2018-04-10T18:00:00Z","modified":"2024-08-05T07:24:56.362Z","updated_at":"2026-11-02T14:35:02.603326Z"}],"euvd":[{"id":"EUVD-2018-21510","description":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name object\" cases, allowing remote attackers to cause a denial of service (stack exhaustion), related to the QPDFObjectHandle and QPDF_Dictionary classes, because nesting in direct objects is not restricted.","status":"published","published":"2018-04-10T18:00:00Z","modified":"2024-08-05T07:24:56Z","updated_at":"2026-11-03T02:40:00.040327Z"}],"ghsa":[{"id":"GHSA-mcgj-mgj8-8cr3","title":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name...","description":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name object\" cases, allowing remote attackers to cause a denial of service (stack exhaustion), related to the QPDFObjectHandle and QPDF_Dictionary classes, because nesting in direct objects is not restricted.","status":"published","published":"2022-05-13T01:53:58Z","modified":"2023-02-02T05:02:30Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T14:51:27.190242Z"}],"nvd":[{"id":"CVE-2018-9918","description":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name object\" cases, allowing remote attackers to cause a denial of service (stack exhaustion), related to the QPDFObjectHandle and QPDF_Dictionary classes, because nesting in direct objects is not restricted.","status":"published","published":"2018-04-10T18:29:00.45Z","modified":"2026-06-17T02:07:19.277Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T14:04:25.506659Z"}],"osv":[{"id":"CVE-2018-9918","description":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name object\" cases, allowing remote attackers to cause a denial of service (stack exhaustion), related to the QPDFObjectHandle and QPDF_Dictionary classes, because nesting in direct objects is not restricted.","status":"published","published":"2018-04-10T18:29:00.45Z","modified":"2026-10-20T13:37:09.876593909Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:10.051046Z"},{"id":"DEBIAN-CVE-2018-9918","description":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name object\" cases, allowing remote attackers to cause a denial of service (stack exhaustion), related to the QPDFObjectHandle and QPDF_Dictionary classes, because nesting in direct objects is not restricted.","status":"published","published":"2018-04-10T18:29:00.45Z","modified":"2026-10-23T18:03:48.600400538Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:31.170944Z"},{"id":"UBUNTU-CVE-2018-9918","description":"libqpdf.a in QPDF through 8.0.2 mishandles certain \"expected dictionary key but found non-name object\" cases, allowing remote attackers to cause a denial of service (stack exhaustion), related to the QPDFObjectHandle and QPDF_Dictionary classes, because nesting in direct objects is not restricted.","status":"published","published":"2018-04-10T00:00:00Z","modified":"2026-04-22T12:05:37.802197Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"MGASA-2018-0232","title":"Updated qpdf packages fix security vulnerability","description":"A flaw was found in QPDF through 8.0.2. libqpdf.a mishandles certain\n'expected dictionary key but found non-name object' cases, allowing\nremote attackers to cause a denial of service (stack exhaustion),\nrelated to the QPDFObjectHandle and QPDF_Dictionary classes\n(CVE-2018-9918).\n","status":"published","published":"2018-05-12T07:57:59Z","modified":"2026-04-16T06:24:06.623955938Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"SUSE-SU-2024:2173-1","title":"Security update for qpdf","description":"This update for qpdf fixes the following issues:\n\n- CVE-2018-9918: Fixed mishandled 'expected dictionary key but found non-name object' cases that could have allowed attackers to cause a denial of service. (bsc#1089090)\n","status":"published","published":"2024-06-24T05:20:37Z","modified":"2026-02-04T03:54:23.771876Z","updated_at":"2026-11-02T15:53:55.136363Z"},{"id":"USN-3638-1","title":"qpdf vulnerabilities","description":"It was discovered that QPDF incorrectly handled certain malformed files. A\nremote attacker could use this issue to cause QPDF to crash, resulting in a\ndenial of service, or possibly execute arbitrary code.\n","status":"published","published":"2018-05-07T16:29:40Z","modified":"2026-04-22T09:45:14.935321Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
