CVE-2021-45931

NameCVE-2021-45931
DescriptionHarfBuzz 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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
harfbuzz (PTS)buster2.3.1-1fixed
bullseye2.7.4-1fixed
bookworm, sid6.0.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
harfbuzzsource(unstable)(not affected)

Notes

- harfbuzz <not-affected> (Vulnerable code introduced later)
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37425
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/harfbuzz/OSV-2021-1159.yaml
https://github.com/harfbuzz/harfbuzz/commit/d3e09bf4654fe5478b6dbf2b26ebab6271317d81 (2.9.1)
introduced in https://github.com/harfbuzz/harfbuzz/commit/f0c3804fa292ef3be41cc8d1cdea8239f00e2295 (2.9.1)
vulnerable code not present in 2.9.0 git tag, error in CVE description

Search for package or bug name: Reporting problems