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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 9.22~dfsg-1 |
| debian | bullseye | fixed | 9.22~dfsg-1 |
| debian | forky | fixed | 9.22~dfsg-1 |
| debian | sid | fixed | 9.22~dfsg-1 |
| debian | trixie | fixed | 9.22~dfsg-1 |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| artifex | ghostscript | 9.21 | |
References
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066
- http://www.debian.org/security/2017/dsa-3986
- http://www.securityfocus.com/bid/99991
- https://bugs.ghostscript.com/show_bug.cgi?id=697985
- https://security.gentoo.org/glsa/201811-12
- https://www.suse.com/security/cve/CVE-2017-9835.html
- https://security-tracker.debian.org/tracker/CVE-2017-9835
CWEs
CWE-190
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.