# JLSEC-2026-777: HarfBuzz is a text shaping engine.

- Severity: Medium 5.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-20T16:53:07.927Z
- Modified: 2026-07-25T18:24:54.217Z
- Related: CVE-2026-22693

## Description

HarfBuzz is a text shaping engine. Prior to version 12.3.0, a null pointer dereference vulnerability exists in the SubtableUnicodesCache::create function located in `src/hb-ot-cmap-table.hh`. The function fails to check if `hb_malloc` returns NULL before using placement new to construct an object at the returned pointer address. When `hb_malloc` fails to allocate memory (which can occur in low-memory conditions or when using custom allocators that simulate allocation failures), it returns NULL. The code then attempts to call the constructor on this null pointer using placement new syntax, resulting in undefined behavior and a Segmentation Fault. This issue has been patched in version 12.3.0.

(As written by Julia Security Advisories.)

## Affected

- HarfBuzz_ICU_jll (Julia): before 100.14002.1+0
- HarfBuzz_jll (Julia): before 100.14002.1+0

## References

- <http://www.openwall.com/lists/oss-security/2026/01/11/1> (web)
- <http://www.openwall.com/lists/oss-security/2026/01/12/1> (web)
- <https://github.com/harfbuzz/harfbuzz/commit/1265ff8d990284f04d8768f35b0e20ae5f60daae> (web)
- <https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-xvjr-f2r9-c7ww> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-777](https://osv.dev/vulnerability/JLSEC-2026-777), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-777 · Whole record: https://cve.day/JLSEC-2026-777.json · Rebuilt by cve.day 2026-11-25T22:56:26.234Z
