CVE-2026-22693 Details
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.
A null pointer dereference vulnerability has been identified in HarfBuzz versions prior to 12.3.0. The issue arises in the SubtableUnicodesCache::create function within the OT cmap table handling. The vulnerability occurs because the function does not verify whether the memory allocation via hb_malloc was successful before using placement new to construct an object. This oversight can lead to undefined behavior, specifically a segmentation fault, when hb_malloc fails to allocate memory, which can happen in low-memory situations or with custom allocators that mimic allocation failures.
Users can upgrade to HarfBuzz version 12.3.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/01/11/1 | CVE | ExploitMailing ListPatchThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2026/01/12/1 | CVE | ExploitMailing ListPatchThird Party Advisory |
| https://github.com/harfbuzz/harfbuzz/commit/1265ff8d990284f04d8768f35b0e20ae5f60daae | [email protected] | Patch |
| https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-xvjr-f2r9-c7ww | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| harfbuzz project harfbuzz | < 12.3.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 18, 2026 | Initial Analysis | [email protected] |
| Jan 12, 2026 | CVE Modified | CVE |
| Jan 11, 2026 | CVE Modified | CVE |
| Jan 10, 2026 | New CVE Received | [email protected] |