CVE-2021-45931 Memory corruption in n/a

Medium 6.5 Published Updated

An out-of-bounds write in HarfBuzz allows attackers to execute arbitrary code or cause denial of service via crafted text data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-45931?

CVE-2021-45931 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 31 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

HarfBuzz 2.9.0 has an out-of-bounds write in hb_bit_set_invertible_t::set (called from hb_sparseset_t<hb_bit_set_invertible_t>::set and hb_set_copy).

Weakness: CWE-787

Which versions are affected by CVE-2021-45931?

It affects 2 products.

Products include Fedoraproject Fedora, Harfbuzz Project Harfbuzz.

How do I fix CVE-2021-45931?

No fix has been published for CVE-2021-45931 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 CVE-2021-45931 being exploited?

There is no known exploitation of CVE-2021-45931 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-77w9-6m5g-vpj2.

Is CVE-2021-45931 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free