{"api_version":"1","generated_at":"2026-04-25T17:58:32+00:00","cve":"CVE-2017-9835","urls":{"html":"https://cve.report/CVE-2017-9835","api":"https://cve.report/api/cve/CVE-2017-9835.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-9835","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-9835"},"summary":{"title":"CVE-2017-9835","description":"The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-07-26 19:29:00","updated_at":"2023-11-07 02:50:00"},"problem_types":["CWE-190"],"metrics":[],"references":[{"url":"http://www.securityfocus.com/bid/99991","name":"99991","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Artifex Ghostscript CVE-2017-9835 Heap Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=cfde94be1d4286bc47633c6e6eaf4e659bd78066","name":"http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=cfde94be1d4286bc47633c6e6eaf4e659bd78066","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"git.ghostscript.com Git - ghostpdl.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2017/dsa-3986","name":"DSA-3986","refsource":"DEBIAN","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-3986-1 ghostscript","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201811-12","name":"GLSA-201811-12","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"GPL Ghostscript: Multiple vulnerabilities (GLSA 201811-12) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066","name":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066","refsource":"","tags":[],"title":"git.ghostscript.com Git - ghostpdl.git/commit","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=697985","name":"https://bugs.ghostscript.com/show_bug.cgi?id=697985","refsource":"CONFIRM","tags":["Exploit","Issue Tracking","Third Party Advisory"],"title":"Bug 697985 – heap-buffer-overflow in gs_alloc_ref_array(ialloc.c)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9835","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9835","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"9835","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"artifex","cpe5":"ghostscript","cpe6":"9.21","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"9835","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"artifex","cpe5":"ghostscript","cpe6":"9.21","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"9835","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"9835","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"9835","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"9835","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-9835","qid":"671112","title":"EulerOS Security Update for ghostscript (EulerOS-SA-2019-2370)"},{"cve":"CVE-2017-9835","qid":"710304","title":"Gentoo Linux GPL Ghostscript Multiple Vulnerabilities (GLSA 201811-12)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-9835","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":"The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"GLSA-201811-12","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201811-12"},{"name":"https://bugs.ghostscript.com/show_bug.cgi?id=697985","refsource":"CONFIRM","url":"https://bugs.ghostscript.com/show_bug.cgi?id=697985"},{"name":"DSA-3986","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-3986"},{"name":"99991","refsource":"BID","url":"http://www.securityfocus.com/bid/99991"},{"name":"http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=cfde94be1d4286bc47633c6e6eaf4e659bd78066","refsource":"CONFIRM","url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=cfde94be1d4286bc47633c6e6eaf4e659bd78066"}]}},"nvd":{"publishedDate":"2017-07-26 19:29:00","lastModifiedDate":"2023-11-07 02:50:00","problem_types":["CWE-190"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:artifex:ghostscript:9.21:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"9835","Ordinal":"107472","Title":"CVE-2017-9835","CVE":"CVE-2017-9835","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"9835","Ordinal":"1","NoteData":"The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"9835","Ordinal":"2","NoteData":"2017-07-26","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"9835","Ordinal":"3","NoteData":"2018-11-25","Type":"Other","Title":"Modified"}]}}}