CVE-2021-45949 Memory corruption in n/a
A heap-based buffer overflow in Ghostscript allows attackers to execute arbitrary code or cause denial of service via crafted files.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-45949?
CVE-2021-45949 is a low-severity memory corruption vulnerability in Artifex Ghostscript, published on 31 Dec 2021. 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
Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp).
Which versions are affected by CVE-2021-45949?
It affects 2 products.
Products include Artifex Ghostscript, Debian Debian Linux.
How do I fix CVE-2021-45949?
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-2021-45949 being exploited?
There is no known exploitation of CVE-2021-45949 in the wild and no public exploit code.
Other vulnerabilities in Artifex Ghostscript
Sources
Also known as DEBIAN-CVE-2021-45949, GHSA-r647-qm87-j9pc, UBUNTU-CVE-2021-45949.