Buffer Overflow Vulnerability in Ghostscript - CVE-2025-27830
Summary
CVE-2025-27830: An issue was discovered in Artifex Ghostscript before 10.05.0. Affects ghostscript versions < 10.05.0. Fixed in 10.05.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Ghostscript is an interpreter for the PostScript language and PDF files, widely used for processing and rendering documents. It is a crucial tool for various applications, including printing and document conversion. The vulnerability CVE-2025-27830 affects multiple versions of Ghostscript, making it imperative for users to understand its implications and take necessary actions to secure their systems.
Vulnerability Detail
An issue was discovered in Artifex Ghostscript before version 10.05.0, where a buffer overflow occurs during the serialization of DollarBlend in a font. This vulnerability can lead to potential exploitation, allowing attackers to execute arbitrary code or crash the application, thereby compromising the integrity and availability of the system.
How To Fix
Minimum fixed version
10.05.0
This is the first release that contains the fix.
sudo apk add --upgrade ghostscript
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can avoid using the affected features of Ghostscript until the package is updated. However, this is not a permanent solution, and updating the package is strongly recommended.
Conclusion
The CVE-2025-27830 vulnerability in Ghostscript poses significant risks, including potential code execution and application instability. Users are urged to update to the latest version to mitigate these risks and ensure the security of their systems.
See every vulnerability recorded for ghostscript →
FAQ
CVE-2025-27830 is a vulnerability in Ghostscript that allows for a buffer overflow during the serialization of DollarBlend in a font, potentially leading to code execution or application crashes.
Ghostscript versions prior to 10.05.0 are affected by this vulnerability.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If immediate updates are not possible, avoid using the features related to DollarBlend serialization until a patch can be applied.
More information can be found in the official CVE database and through security advisories related to Ghostscript.
References
Related vulnerabilities
Recent vulnerabilities recorded for ghostscript.