Buffer Overflow Vulnerability in GhostScript v9.50
Summary
CVE-2020-16300: A buffer overflow vulnerability in tiff12_print_page() in devices/gdevtfnx.c of Artifex Software GhostScript v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. Affects ghostscript versions < 9.51-r0. Fixed in 9.51-r0. 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 open-source interpreter for the PostScript language and the PDF file format. It is widely used for rendering and converting PDF files. The vulnerability affects GhostScript version 9.50 and allows a remote attacker to cause a denial of service by exploiting a buffer overflow in the tiff12_print_page() function in devices/gdevtfnx.c. This can be achieved by sending a crafted PDF file to the vulnerable system.
Vulnerability Detail
The buffer overflow vulnerability in GhostScript v9.50, identified as CVE-2020-16300, can be exploited by a remote attacker to trigger a denial of service condition. By sending a specially crafted PDF file, the attacker can overflow a buffer in the tiff12_print_page() function, leading to the crash of the GhostScript process. This vulnerability has a CVSSv3 score of 5.5, indicating a moderate severity level.
How To Fix
Minimum fixed version
9.51-r0
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
There is no known workaround for this vulnerability. It is essential to update GhostScript to the fixed version to mitigate the risk.
Conclusion
The buffer overflow vulnerability in GhostScript v9.50 can be exploited by a remote attacker to cause a denial of service. To mitigate the risk, it is recommended to update GhostScript to version 9.51 or later. For further assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for ghostscript →
FAQ
GhostScript is an open-source interpreter for the PostScript language and the PDF file format. It is commonly used for rendering and converting PDF files.
The vulnerability allows a remote attacker to cause a denial of service by exploiting a buffer overflow in GhostScript. This can lead to the crash of the GhostScript process, disrupting its functionality.
The vulnerability can be fixed by updating GhostScript to version 9.51 or later. The update includes a patch that addresses the buffer overflow issue.
No, there is no known workaround for this vulnerability. It is crucial to update GhostScript to the fixed version.
The vulnerability has a CVSSv3 score of 5.5, indicating a moderate severity level.
References
Related vulnerabilities
Recent vulnerabilities recorded for ghostscript.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.