CVE-2025-27831
published critical CVSS 3.1 · 9.8Ghostscript: Text buffer overflow with long characters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2805 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-908 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Debian | bookworm | ghostscript | Advisory build | 10.0.0~dfsg-11+deb12u7 | DSA-5888-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptaarch64 | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| Ubuntu | jammy | ghostscript | Advisory build | 9.55.0~dfsg1-0ubuntu5.11 | USN-7378-1 |
| Alpine Linux | v3.18 | ghostscript | Fixed | 10.05.0 | Package fix record |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Alpine Linux | v3.20 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Alpine Linux | v3.21 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Alpine Linux | v3.22 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Alpine Linux | v3.23 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Alpine Linux | v3.24 | ghostscript | Fixed | 10.05.0-r0 | Package fix record |
| Debian | bullseye | ghostscript | Advisory build | 9.53.3~dfsg-7+deb11u10 | DLA-4118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptppc64le | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscripts390x | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptx86_64 | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develaarch64 | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develppc64le | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-devels390x | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develx86_64 | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11aarch64 | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11ppc64le | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11s390x | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11x86_64 | Advisory build | 9.52-23.89.1 | SUSE-SU-2025:1118-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscriptaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscriptppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscripts390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscriptx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-develaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-develppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-devels390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-develx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-x11aarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-x11ppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-x11s390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-x11x86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscriptaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscriptppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscripts390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscriptx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscript-develaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscript-develppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscript-devels390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscript-develx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscript-x11aarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscript-x11ppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscript-x11s390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP4 | ghostscript-x11x86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscriptaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscriptppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscripts390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscriptx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscript-develaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscript-develppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscript-devels390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscript-develx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscript-x11aarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscript-x11ppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscript-x11s390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP5 | ghostscript-x11x86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscriptaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscriptppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscripts390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscriptx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-develaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-develppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-devels390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-develx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-x11aarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-x11ppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-x11s390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-x11x86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscriptaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscriptppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscripts390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscriptx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-develaarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-develppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-devels390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-develx86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-x11aarch64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-x11ppc64le | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-x11s390x | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-x11x86_64 | Advisory build | 9.52-150000.203.1 | SUSE-SU-2025:1127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptaarch64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptppc64le | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscripts390x | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptx86_64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develaarch64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develppc64le | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-devels390x | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develx86_64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11aarch64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11ppc64le | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11s390x | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11x86_64 | Advisory build | 10.05.0-1.1 | OPENSUSE-SU-2025:14953-1 |
| Ubuntu | jammy | ghostscript-x | Advisory build | 9.55.0~dfsg1-0ubuntu5.11 | USN-7378-1 |
| Ubuntu | jammy | libgs9 | Advisory build | 9.55.0~dfsg1-0ubuntu5.11 | USN-7378-1 |
| Ubuntu | jammy | libgs9-common | Advisory build | 9.55.0~dfsg1-0ubuntu5.11 | USN-7378-1 |
| Ubuntu | noble | ghostscript | Advisory build | 10.02.1~dfsg1-0ubuntu7.5 | USN-7378-1 |
| Ubuntu | noble | libgs-common | Advisory build | 10.02.1~dfsg1-0ubuntu7.5 | USN-7378-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
An issue was discovered in Artifex Ghostscript before 10.05.0. The DOCXWRITE TXTWRITE device has a text buffer overflow via long characters to devices/vector/doc_common.c.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
2Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f1f00b32a4b028bbd72656560ed28eeed0f99f6b2d7f396d7407051826684c5c
- Ingested
- 23 Sep 2026, 08:42:52 UTC
- Source record
- Official CVE record