ghostscript: Heap-buffer overflow due to Integer overflow in jbig2_image_new function
Published Apr 23, 2018
5.5
MEDIUMCVSS 3.0
EPSS 1.75%
Description
ghostscript before version 9.21 is vulnerable to a heap based buffer overflow that was found in the ghostscript jbig2_decode_gray_scale_image function which is used to decode halftone segments in a JBIG2 image. A document (PostScript or PDF) with an embedded, specially crafted, jbig2 image could trigger a segmentation fault in ghostscript.
Affected products
- Vendor n/a Product Ghostscript Defaultn/a
- Version ghostscript 0.14StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Ghostscript | n/a |
|
Configuration 1
- < 9.21
Configuration 2
- ≤ 0.13
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 5
ghostscript
Not affected
Red Hat Enterprise Linux 6
ghostscript
Not affected
Red Hat Enterprise Linux 7
ghostscript
Will not fix
Red Hat OpenShift Enterprise 2
ghostscript
Under investigation
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | ghostscript | Not affected | n/a |
| Red Hat Enterprise Linux 6 | ghostscript | Not affected | n/a |
| Red Hat Enterprise Linux 7 | ghostscript | Will not fix | n/a |
| Red Hat OpenShift Enterprise 2 | ghostscript | Under investigation | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.75% (0.01748) | 76.99th | v5 (v2026.06.15) |
| Sep 22, 2026 | 1.75% (0.01748) | 76.82th | v5 (v2026.06.15) |
| Sep 21, 2026 | 3.57% (0.03568) | 88.86th | v5 (v2026.06.15) |
| Sep 6, 2026 | 1.75% (0.01748) | 76.33th | v5 (v2026.06.15) |
| Sep 5, 2026 | 3.57% (0.03568) | 88.62th | v5 (v2026.06.15) |
| Aug 30, 2026 | 1.75% (0.01748) | 76.21th | v5 (v2026.06.15) |
| Aug 28, 2026 | 3.70% (0.03699) | 88.95th | v5 (v2026.06.15) |
| Aug 24, 2026 | 1.81% (0.01813) | 76.98th | v5 (v2026.06.15) |
| Aug 23, 2026 | 3.70% (0.03699) | 88.91th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.84% (0.01836) | 76.09th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.28% (0.00281) | 49.45th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.18% (0.00184) | 57.00th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.18% (0.00184) | 55.53th | v3 (v2023.03.01) |
| Oct 25, 2023 | 0.20% (0.00196) | 57.23th | v3 (v2023.03.01) |
| Apr 17, 2023 | 0.19% (0.00192) | 55.22th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.14% (0.00138) | 47.59th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.11% (0.01108) | 53.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
References (10)
- http://git.ghostscript.com/?p=jbig2dec.git%3Ba=commit%3Bh=e698d5c11d27212aa1098bc5b1673a3378563092 x_refsource_CONFIRM
- http://www.securityfocus.com/bid/97095 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2016-9601 Vendor Advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697457 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1410021 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9601 x_refsource_MISCIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-9601
- https://security.gentoo.org/glsa/201706-24 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2016-9601
- https://www.debian.org/security/2017/dsa-3817 vendor-advisoryx_refsource_DEBIANThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| http://git.ghostscript.com/?p=jbig2dec.git%3Ba=commit%3Bh=e698d5c11d27212aa1098bc5b1673a3378563092 | x_refsource_CONFIRM | |
| http://www.securityfocus.com/bid/97095 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2016-9601 | Vendor Advisory | |
| https://bugs.ghostscript.com/show_bug.cgi?id=697457 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1410021 | Issue Tracking | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9601 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-9601 | ||
| https://security.gentoo.org/glsa/201706-24 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2016-9601 | ||
| https://www.debian.org/security/2017/dsa-3817 | vendor-advisoryx_refsource_DEBIANThird Party Advisory |
Change history (0)
No recorded changes yet.