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
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Mixed 7 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 9.22~dfsg-1 |
| sid | Fixed | 9.22~dfsg-1 |
| forky | Fixed | 9.22~dfsg-1 |
| bullseye | Fixed | 9.22~dfsg-1 |
| bookworm | Fixed | 9.22~dfsg-1 |
| 9.0 | Affected | โ |
| 8.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.