Description
Off-by-one error in the Ins_MINDEX function in the TrueType bytecode interpreter in Ghostscript before 8.71 allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via a malformed TrueType font in a document that trigger an integer overflow and a heap-based buffer overflow.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ghostscript | 8.71~dfsg-1 | — |
| Debian 13 | ghostscript | 8.71~dfsg-1 | — |
| Debian 12 | ghostscript | 8.71~dfsg-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | ghostscript +3 | 8.70-11.el6_2.6 | RHSA-2012:0095 |
| RHEL 5 | ghostscript +2 | 8.70-6.el5_7.6 | RHSA-2012:0095 |
Advisories 1
- RHSA-2012:0095 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- RHSA-2012:0095 vendor-advisory
- GLSA-201412-17 vendor-advisory
- 1024785 vdb-entry
- 20101125 TSSA-2010-01 Ghostscript library Ins_MINDEX() integer overflow and heap corruption mailing-list
- http://www.kb.cert.org/vuls/id/JALR-87YGN8
- VU#644319 third-party-advisory