cve.bz

CVE-2025-27832 artifex ghostscript: Classic Buffer Overflow

9.8 criticalEPSS 0.8%Fix available

Critical (9.8) in artifex ghostscript. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in Artifex Ghostscript before 10.05.0. The NPDL device has a Compression buffer overflow for contrib/japanese/gdevnpdl.c.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-03-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-27832 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-27832?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-27832?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-27832 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
artifex:ghostscriptbefore 10.05.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ghostscript9.53.3~dfsg-7+deb11u10DLA-4118-1
Debian12ghostscript10.0.0~dfsg-11+deb12u7DEBIAN-CVE-2025-27832 DSA-5888-1
Debian13, 14ghostscript10.05.0~dfsg-1DEBIAN-CVE-2025-27832
Ubuntu20.04:LTSghostscript9.50~dfsg-5ubuntu4.15UBUNTU-CVE-2025-27832 USN-7378-1
Ubuntu22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.11UBUNTU-CVE-2025-27832 USN-7378-1 USN-7623-1
Ubuntu24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.5UBUNTU-CVE-2025-27832 USN-7378-1 USN-7623-1
UbuntuPro:16.04:LTSghostscript9.26~dfsg+0-0ubuntu0.16.04.14+esm9UBUNTU-CVE-2025-27832 USN-7623-1
UbuntuPro:18.04:LTSghostscript9.26~dfsg+0-0ubuntu0.18.04.18+esm4UBUNTU-CVE-2025-27832 USN-7623-1
UbuntuPro:20.04:LTSghostscript9.50~dfsg-5ubuntu4.15+esm1USN-7623-1
Red Hatenterprise_linux:8::appstreamlibgs, ghostscript, ghostscript-x11 and 5 more0:9.27-17.el8_10RHSA-2025:8421
Red Hatenterprise_linux:8::crblibgs-devel, ghostscript-doc, libgs-debuginfo and 7 more0:9.27-17.el8_10RHSA-2025:8421
Red Hatenterprise_linux:9::appstreamlibgs, ghostscript, ghostscript-doc and 9 more0:9.54.0-19.el9_6RHSA-2025:7586
Red Hatenterprise_linux:9::crbghostscript, libgs-devel, libgs-debuginfo and 6 more0:9.54.0-19.el9_6RHSA-2025:7586
Red Hatenterprise_linux:10.0libgs, ghostscript, libgs-devel and 8 more0:10.02.1-16.el10_0RHSA-2025:7593
Red Hatrhel_e4s:9.0::appstreamlibgs, ghostscript, ghostscript-doc and 9 more0:9.54.0-7.el9_0.4RHSA-2025:23153
Red Hatrhel_e4s:9.2::appstreamlibgs, ghostscript, ghostscript-doc and 9 more0:9.54.0-12.el9_2.3RHSA-2025:22869
Red Hatrhel_eus:9.4::appstreamlibgs, ghostscript, ghostscript-doc and 9 more0:9.54.0-17.el9_4.1RHSA-2025:21915
Red Hatrhel_eus:9.4::crbghostscript, libgs-devel, libgs-debuginfo and 6 more0:9.54.0-17.el9_4.1RHSA-2025:21915
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 moreghostscript9.52-150000.203.1SUSE-SU-2025:1127-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5ghostscript9.52-23.89.1SUSE-SU-2025:1118-1
openSUSELeap 15.6ghostscript9.52-150000.203.1SUSE-SU-2025:1127-1
openSUSETumbleweedghostscript10.05.0-1.1openSUSE-SU-2025:14953-1
AlmaLinux8libgs, ghostscript, libgs-devel and 5 more9.27-17.el8_10ALSA-2025:8421
AlmaLinux9libgs, ghostscript, libgs-devel and 5 more9.54.0-19.el9_6ALSA-2025:7586
AlmaLinux10libgs, ghostscript, libgs-devel and 4 more10.02.1-16.el10_0ALSA-2025:7593
Rocky Linux8ghostscript0:9.27-17.el8_10RLSA-2025:8421
Rocky Linux9ghostscript0:9.54.0-19.el9_6RLSA-2025:7586
Rocky Linux10ghostscript0:10.02.1-16.el10_0RLSA-2025:7593
Alpinev3.18ghostscript10.05.0ALPINE-CVE-2025-27832
Alpinev3.19, v3.20, v3.21 and 3 moreghostscript10.05.0-r0ALPINE-CVE-2025-27832
Alpaquita23ghostscript10.01.2-r4BELL-CVE-2025-27832
Alpaquitastreamghostscript10.05.0-r0BELL-CVE-2025-27832

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10ghostscript-0:10.02.1-16.el10_0Fixed 2025-05-14RHSA-2025:7593
Red Hat Enterprise Linux 8ghostscript-0:9.27-17.el8_10Fixed 2025-06-03RHSA-2025:8421
Red Hat Enterprise Linux 9ghostscript-0:9.54.0-19.el9_6Fixed 2025-05-14RHSA-2025:7586
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsghostscript-0:9.54.0-7.el9_0.4Fixed 2025-12-15RHSA-2025:23153
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsghostscript-0:9.54.0-12.el9_2.3Fixed 2025-12-09RHSA-2025:22869
Red Hat Enterprise Linux 9.4 Extended Update Supportghostscript-0:9.54.0-17.el9_4.1Fixed 2025-11-24RHSA-2025:21915
Red Hat Enterprise Linux 6ghostscriptFix deferred
Red Hat Enterprise Linux 7ghostscriptFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-27832.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON