OSV-2020-704 Heap-buffer-overflow in BEInt<unsigned char, 1>::set
A heap buffer overflow in the font parsing library allows attackers to execute arbitrary code or cause denial of service via malicious fonts.
- 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-2020-704?
OSV-2020-704 is a memory corruption vulnerability in harfbuzz, published on 1 Jul 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13736
Crash type: Heap-buffer-overflow WRITE 1
Crash state:
BEInt<unsigned char, 1>::set
CFF::CFFIndex<OT::IntType<unsigned int, 4u> >::set_offset_at
bool CFF::FDArray<OT::IntType<unsigned int, 4u> >::serialize<CFF::cff2_font_dict
Which versions are affected by OSV-2020-704?
1 open source package ship an affected version, including harfbuzz.
| Package | Affected | Fixed in |
|---|---|---|
harfbuzz OSS-Fuzz | All versions | None |
How do I fix OSV-2020-704?
No fix has been published for OSV-2020-704 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-2020-704 being exploited?
There is no known exploitation of OSV-2020-704 in the wild and no public exploit code.