CVE-2025-27834 Memory corruption in n/a
A buffer overflow in Ghostscript allows attackers to execute arbitrary code or cause denial of service via a malicious PDF.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-27834?
CVE-2025-27834 is a high-severity memory corruption vulnerability in Artifex Ghostscript, published on 25 Mar 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An issue was discovered in Artifex Ghostscript before 10.05.0. A buffer overflow occurs via an oversized Type 4 function in a PDF document to pdf/pdf_func.c.
Weakness: CWE-120
Which versions are affected by CVE-2025-27834?
It affects 1 product.
Products include Artifex Ghostscript.
How do I fix CVE-2025-27834?
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-27834 being exploited?
There is no known exploitation of CVE-2025-27834 in the wild and no public exploit code.
Other vulnerabilities in Artifex Ghostscript
Sources
Also known as ALPINE-CVE-2025-27834, BELL-CVE-2025-27834, DEBIAN-CVE-2025-27834, GHSA-62q7-445r-42wh, MINI-wg2p-2pf2-4j9x, UBUNTU-CVE-2025-27834.