CVE-2025-27832 Memory corruption in n/a
A buffer overflow in the NPDL device allows attackers to execute arbitrary code or cause denial of service via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-27832?
CVE-2025-27832 is a critical memory corruption vulnerability in Artifex Ghostscript, published on 25 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-120
Which versions are affected by CVE-2025-27832?
It affects 1 product.
Linux distribution packages (40)
ghostscript AlmaLinux:10 | All versions | 10.02.1-16.el10_0 |
ghostscript-doc AlmaLinux:10 | All versions | 10.02.1-16.el10_0 |
ghostscript-tools-dvipdf AlmaLinux:10 | All versions | 10.02.1-16.el10_0 |
ghostscript-tools-fonts AlmaLinux:10 | All versions | 10.02.1-16.el10_0 |
ghostscript-tools-printing AlmaLinux:10 | All versions | 10.02.1-16.el10_0 |
libgs AlmaLinux:10 | All versions | 10.02.1-16.el10_0 |
libgs-devel AlmaLinux:10 | All versions | 10.02.1-16.el10_0 |
ghostscript AlmaLinux:8 | All versions | 9.27-17.el8_10 |
ghostscript-doc AlmaLinux:8 | All versions | 9.27-17.el8_10 |
ghostscript-tools-dvipdf AlmaLinux:8 | All versions | 9.27-17.el8_10 |
ghostscript-tools-fonts AlmaLinux:8 | All versions | 9.27-17.el8_10 |
ghostscript-tools-printing AlmaLinux:8 | All versions | 9.27-17.el8_10 |
ghostscript-x11 AlmaLinux:8 | All versions | 9.27-17.el8_10 |
libgs AlmaLinux:8 | All versions | 9.27-17.el8_10 |
libgs-devel AlmaLinux:8 | All versions | 9.27-17.el8_10 |
ghostscript AlmaLinux:9 | All versions | 9.54.0-19.el9_6 |
ghostscript-doc AlmaLinux:9 | All versions | 9.54.0-19.el9_6 |
ghostscript-tools-dvipdf AlmaLinux:9 | All versions | 9.54.0-19.el9_6 |
ghostscript-tools-fonts AlmaLinux:9 | All versions | 9.54.0-19.el9_6 |
ghostscript-tools-printing AlmaLinux:9 | All versions | 9.54.0-19.el9_6 |
ghostscript-x11 AlmaLinux:9 | All versions | 9.54.0-19.el9_6 |
libgs AlmaLinux:9 | All versions | 9.54.0-19.el9_6 |
libgs-devel AlmaLinux:9 | All versions | 9.54.0-19.el9_6 |
ghostscript Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
ghostscript-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
ghostscript-debugsource Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
ghostscript-doc Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
ghostscript-gtk-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
ghostscript-tools-dvipdf Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
ghostscript-tools-fonts Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
ghostscript-tools-printing Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
libgs Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
libgs-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
libgs-devel Red Hat:enterprise_linux:10.0 | All versions | 0:10.02.1-16.el10_0 |
ghostscript Red Hat:enterprise_linux:8::appstream | All versions | 0:9.27-17.el8_10 |
ghostscript-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:9.27-17.el8_10 |
ghostscript-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:9.27-17.el8_10 |
ghostscript-gtk-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:9.27-17.el8_10 |
ghostscript-x11 Red Hat:enterprise_linux:8::appstream | All versions | 0:9.27-17.el8_10 |
ghostscript-x11-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:9.27-17.el8_10 |
Products include Artifex Ghostscript.
How do I fix CVE-2025-27832?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-27832 being exploited?
There is no known exploitation of CVE-2025-27832 in the wild and no public exploit code.
Other vulnerabilities in Artifex Ghostscript
Sources
Also known as ALPINE-CVE-2025-27832, ALSA-2025:7586, ALSA-2025:7593, ALSA-2025:8421, BELL-CVE-2025-27832, DEBIAN-CVE-2025-27832 and 12 more.