# CVE-2025-27831: ghostscript: An issue was discovered in Artifex Ghostscript before 10.05.0

CVE-2025-27831 is fixed in 20 products on 1 platform, first by ghostscript 9.55.0~dfsg1-0ubuntu5.11, released March 25, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-27831
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0060
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 25, 2025

## Description

An issue was discovered in Artifex Ghostscript before 10.05.0. TheDOCXWRITE TXTWRITE device has a text buffer overflow via long characters todevices/vector/doc_common.c.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ghostscript Debian 12.15 (bookworm) | 10.0.0~dfsg-11+deb12u7 | [DEBIAN-CVE-2025-27831](https://patchblox.com/security/data/fix/linux/debian-cve-2025-27831.md) | Mar 25, 2025 |
| Linux | ghostscript Debian 13.5 (trixie) | 10.05.0~dfsg-1 | [DEBIAN-CVE-2025-27831](https://patchblox.com/security/data/fix/linux/debian-cve-2025-27831.md) | Mar 25, 2025 |
| Linux | ghostscript Debian 14 | 10.05.0~dfsg-1 | [DEBIAN-CVE-2025-27831](https://patchblox.com/security/data/fix/linux/debian-cve-2025-27831.md) | Mar 25, 2025 |
| Linux | ghostscript Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.11 | [ghostscript 9.55.0~dfsg1-0ubuntu5.11](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ghostscript-9.55.0-dfsg1-0ubuntu5.11.md) | Mar 25, 2025 |
| Linux | ghostscript Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.5 | [ghostscript 10.02.1~dfsg1-0ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ghostscript-10.02.1-dfsg1-0ubuntu7.5.md) | Mar 25, 2025 |
| Linux | ghostscript Ubuntu 24.10 (oracular) | 10.03.1~dfsg1-0ubuntu2.2 | [ghostscript 10.03.1~dfsg1-0ubuntu2.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-ghostscript-10.03.1-dfsg1-0ubuntu2.2.md) | Jan 16, 2026 |
| Linux | ghostscript amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript opensuse-leap 15.6 | 9.52-150000.203.1 | [SUSE-SU-2025:1127-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1127-1.md) | Apr 3, 2025 |
| Linux | ghostscript sles 15.6 | 9.52-150000.203.1 | [SUSE-SU-2025:1127-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1127-1.md) | Apr 3, 2025 |
| Linux | ghostscript-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript-debugsource amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript-doc amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript-gtk amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript-gtk-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript-tools-dvipdf amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript-tools-fonts amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript-tools-printing amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript-x Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.11 | [ghostscript-x 9.55.0~dfsg1-0ubuntu5.11](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ghostscript-x-9.55.0-dfsg1-0ubuntu5.11.md) | Mar 25, 2025 |
| Linux | ghostscript-x11 amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | ghostscript-x11-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | libgs amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | libgs-common Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.5 | [libgs-common 10.02.1~dfsg1-0ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs-common-10.02.1-dfsg1-0ubuntu7.5.md) | Mar 25, 2025 |
| Linux | libgs-common Ubuntu 24.10 (oracular) | 10.03.1~dfsg1-0ubuntu2.2 | [libgs-common 10.03.1~dfsg1-0ubuntu2.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libgs-common-10.03.1-dfsg1-0ubuntu2.2.md) | Jan 16, 2026 |
| Linux | libgs-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | libgs-devel amzn 2023 | 9.56.1-7.amzn2023.0.15 | [ALAS2023-2025-908](https://patchblox.com/security/data/fix/linux/alas2023-2025-908.md) | Mar 26, 2025 |
| Linux | libgs10 Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.5 | [libgs10 10.02.1~dfsg1-0ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs10-10.02.1-dfsg1-0ubuntu7.5.md) | Mar 25, 2025 |
| Linux | libgs10 Ubuntu 24.10 (oracular) | 10.03.1~dfsg1-0ubuntu2.2 | [libgs10 10.03.1~dfsg1-0ubuntu2.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libgs10-10.03.1-dfsg1-0ubuntu2.2.md) | Jan 16, 2026 |
| Linux | libgs10-common Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.5 | [libgs10-common 10.02.1~dfsg1-0ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs10-common-10.02.1-dfsg1-0ubuntu7.5.md) | Mar 25, 2025 |
| Linux | libgs10-common Ubuntu 24.10 (oracular) | 10.03.1~dfsg1-0ubuntu2.2 | [libgs10-common 10.03.1~dfsg1-0ubuntu2.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libgs10-common-10.03.1-dfsg1-0ubuntu2.2.md) | Jan 16, 2026 |
| Linux | libgs9 Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.11 | [libgs9 9.55.0~dfsg1-0ubuntu5.11](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgs9-9.55.0-dfsg1-0ubuntu5.11.md) | Mar 25, 2025 |
| Linux | libgs9-common Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.11 | [libgs9-common 9.55.0~dfsg1-0ubuntu5.11](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgs9-common-9.55.0-dfsg1-0ubuntu5.11.md) | Mar 25, 2025 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
