VULNERABILITY INTELLIGENCE
CVE-2026-22693
CVSS score5.3 MEDIUM
EPSS probability0.45%
CISA KEVNot currently listed
Published2026-01-10
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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.
Weakness classification
- security-advisories@github.com: CWE-476
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Exploit, Mitigation, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Mailing List, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Mailing List, Patch, Third Party Advisory