Description
HarfBuzz from 8.0.0 through 14.6.0 contains a NULL pointer dereference vulnerability in the experimental WebAssembly shaper host imports buffer_set_contents, face_create, and font_set_coords. Attackers can supply a crafted font whose embedded wasm module passes out-of-range addresses with non-zero lengths, crashing any application that shapes text with the font.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
harfbuzz harfbuzz
Default version status: unaffected
8.0.0 to ≤ 14.6.0affected
pkg:github/harfbuzz/harfbuzzReferences
- https://github.com/harfbuzz/harfbuzz/pull/6414 ↗
- https://github.com/harfbuzz/harfbuzz/commit/a71aa86c2bac114fafb6b47f8da02024ecb44fa6 ↗
- https://github.com/harfbuzz/harfbuzz/blob/14.6.0/src/hb-wasm-api-buffer.hh#L153-L181 ↗
- https://github.com/harfbuzz/harfbuzz/blob/14.6.0/src/hb-wasm-api-face.hh#L34-L49 ↗
- https://github.com/harfbuzz/harfbuzz/blob/14.6.0/src/hb-wasm-api-font.hh#L241-L258 ↗
- https://www.vulncheck.com/advisories/harfbuzz-8.0.0-through-14.6.0-webassembly-shaper-null-pointer-dereference-dos ↗