Vulnerability · Published Mar 25, 2025 · Assigned by mitre
CVE-2025-27835
High 7.8
In plain English
A high-severity buffer overflow in the ghostscript package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 77.7% 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. A buffer overflow occurs when converting glyphs to Unicode in psi/zbfont.c.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27835 |
| Alpine:v3.21 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27835 |
| Alpine:v3.22 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27835 |
| Alpine:v3.23 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27835 |
| Alpine:v3.24 | ghostscript | 10.05.0-r0 | ALPINE-CVE-2025-27835 |
| Debian:12 | ghostscript | 10.0.0~dfsg-11+deb12u7 | DSA-5888-1 |
| Debian:12 | ghostscript | 10.0.0~dfsg-11+deb12u7 | DEBIAN-CVE-2025-27835 |
| Debian:13 | ghostscript | 10.05.0~dfsg-1 | DEBIAN-CVE-2025-27835 |
| Debian:14 | ghostscript | 10.05.0~dfsg-1 | DEBIAN-CVE-2025-27835 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.11 | USN-7378-1 |
| 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 | UBUNTU-CVE-2025-27835 |
| 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-27835 |
| 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:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H