Out-of-bounds Write Affecting harfbuzz/harfbuzz package, versions [,2.9.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.54% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-HARFBUZZHARFBUZZ-3008092
  • published2 Jan 2022
  • disclosed2 Jan 2022
  • creditOSS Fuzz

Introduced: 2 Jan 2022

CVE-2021-45931  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade harfbuzz/harfbuzz to version 2.9.1 or higher.

Overview

Affected versions of this package are vulnerable to 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).

CVSS Scores

version 3.1