Vulnerability · Published Mar 25, 2025 · Assigned by mitre
CVE-2025-27832
Critical 9.8
In plain English
A critical-severity buffer overflow in the ghostscript package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.8%top 42.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
An issue was discovered in Artifex Ghostscript before 10.05.0. The NPDL device has a Compression buffer overflow for contrib/japanese/gdevnpdl.c.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | ghostscript | 10.02.1-16.el10_0 | ALSA-2025:7593 |
| AlmaLinux:8 | ghostscript | 9.27-17.el8_10 | ALSA-2025:8421 |
| AlmaLinux:9 | ghostscript | 9.54.0-19.el9_6 | ALSA-2025:7586 |
| AlmaLinux:10 | ghostscript-doc | 10.02.1-16.el10_0 | ALSA-2025:7593 |
| AlmaLinux:8 | ghostscript-doc | 9.27-17.el8_10 | ALSA-2025:8421 |
| AlmaLinux:9 | ghostscript-doc | 9.54.0-19.el9_6 | ALSA-2025:7586 |
| AlmaLinux:10 | ghostscript-tools-dvipdf | 10.02.1-16.el10_0 | ALSA-2025:7593 |
| AlmaLinux:8 | ghostscript-tools-dvipdf | 9.27-17.el8_10 | ALSA-2025:8421 |
| AlmaLinux:9 | ghostscript-tools-dvipdf | 9.54.0-19.el9_6 | ALSA-2025:7586 |
| AlmaLinux:10 | ghostscript-tools-fonts | 10.02.1-16.el10_0 | ALSA-2025:7593 |
| AlmaLinux:8 | ghostscript-tools-fonts | 9.27-17.el8_10 | ALSA-2025:8421 |
| AlmaLinux:9 | ghostscript-tools-fonts | 9.54.0-19.el9_6 | ALSA-2025:7586 |
| AlmaLinux:10 | ghostscript-tools-printing | 10.02.1-16.el10_0 | ALSA-2025:7593 |
| AlmaLinux:8 | ghostscript-tools-printing | 9.27-17.el8_10 | ALSA-2025:8421 |
| AlmaLinux:9 | ghostscript-tools-printing | 9.54.0-19.el9_6 | ALSA-2025:7586 |
| AlmaLinux:8 | ghostscript-x11 | 9.27-17.el8_10 | ALSA-2025:8421 |
| AlmaLinux:9 | ghostscript-x11 | 9.54.0-19.el9_6 | ALSA-2025:7586 |
| AlmaLinux:10 | libgs | 10.02.1-16.el10_0 | ALSA-2025:7593 |
| AlmaLinux:8 | libgs | 9.27-17.el8_10 | ALSA-2025:8421 |
| AlmaLinux:9 | libgs | 9.54.0-19.el9_6 | ALSA-2025:7586 |
| AlmaLinux:10 | libgs-devel | 10.02.1-16.el10_0 | ALSA-2025:7593 |
| AlmaLinux:8 | libgs-devel | 9.27-17.el8_10 | ALSA-2025:8421 |
| AlmaLinux:9 | libgs-devel | 9.54.0-19.el9_6 | ALSA-2025:7586 |
| Alpine:v3.20 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27832 |
| Alpine:v3.21 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27832 |
| Alpine:v3.22 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27832 |
| Alpine:v3.23 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27832 |
| Alpine:v3.24 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27832 |
| Debian:12 | ghostscript | 10.0.0~dfsg-11+deb12u7 | DEBIAN-CVE-2025-27832 |
| Debian:12 | ghostscript | 10.0.0~dfsg-11+deb12u7 | DSA-5888-1 |
| Debian:13 | ghostscript | 10.05.0~dfsg-1 | DEBIAN-CVE-2025-27832 |
| Debian:14 | ghostscript | 10.05.0~dfsg-1 | DEBIAN-CVE-2025-27832 |
| Rocky Linux:10 | ghostscript | 0:10.02.1-16.el10_0 | RLSA-2025:7593 |
| Rocky Linux:8 | ghostscript | 0:9.27-17.el8_10 | RLSA-2025:8421 |
| Rocky Linux:9 | ghostscript | 0:9.54.0-19.el9_6 | RLSA-2025:7586 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.12 | USN-7623-1 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.11 | USN-7378-1 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.11 | UBUNTU-CVE-2025-27832 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.5 | USN-7378-1 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.5 | UBUNTU-CVE-2025-27832 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.7 | USN-7623-1 |
Affected products (as reported)
Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H