In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to the PostScript interpreter, in base/sbcp.c. This affects BCPEncode, BCPDecode, TBCPEncode, and TBCPDecode. If the write buffer is filled to one byte less than full, and one then tries to write an escaped character, two bytes are written.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2023:7053 Released 2023-11-14 · Red Hat rating Moderateghostscript security and bug fix update
- Red Hat CodeReady Linux Builder (v. 8) ghostscript-doc-9.27-11.el8, ghostscript-tools-dvipdf-9.27-11.el8, ghostscript-tools-fonts-9.27-11.el8 +2
- Red Hat Enterprise Linux AppStream (v. 8) ghostscript-9.27-11.el8, ghostscript-x11-9.27-11.el8, libgs-9.27-11.el8
- RHSA-2023:6544 Released 2023-11-07 · Red Hat rating Moderateghostscript security and bug fix update
- Red Hat CodeReady Linux Builder (v. 9) ghostscript-9.54.0-13.el9, ghostscript-tools-fonts-9.54.0-13.el9, ghostscript-tools-printing-9.54.0-13.el9 +1
- Red Hat Enterprise Linux AppStream (v. 9) ghostscript-9.54.0-13.el9, ghostscript-doc-9.54.0-13.el9, ghostscript-tools-dvipdf-9.54.0-13.el9 +4
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2023:7053 |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2023:6544 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:7053 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:6544 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-28879
- 2026-10-03 Alias added: GHSA-6mcj-frmm-wmr5
References
Advisory 6
Sources
- CVE-2023-28879 · CVE Program
- CVE-2023-28879 · NVD
- FIRST EPSS
- GHSA-6mcj-frmm-wmr5 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-28879 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences