OSV-2021-1693 Global-buffer-overflow in pdfi_fapi_get_glyph
A global buffer overflow in the PDF parsing library allows attackers to cause denial of service or potentially execute code via malicious PDF files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is OSV-2021-1693?
OSV-2021-1693 is a memory corruption vulnerability in ghostscript, published on 14 Dec 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42310
Crash type: Global-buffer-overflow READ {*}
Crash state:
pdfi_fapi_get_glyph
get_fapi_glyph_data
cff_slot_load
Which versions are affected by OSV-2021-1693?
1 open source package ship an affected version, including ghostscript.
| Package | Affected | Fixed in |
|---|---|---|
ghostscript OSS-Fuzz | All versions | None |
How do I fix OSV-2021-1693?
No fix has been published for OSV-2021-1693 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2021-1693 being exploited?
There is no known exploitation of OSV-2021-1693 in the wild and no public exploit code.