CVE-2026-22693

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:harfbuzz_project:harfbuzz:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:20

Type Values Removed Values Added
Summary
  • (es) HarfBuzz es un motor de conformación de texto. Antes de la versión 12.3.0, existe una vulnerabilidad de desreferencia de puntero nulo en la función SubtableUnicodesCache::create ubicada en src/hb-ot-cmap-table.hh. La función no verifica si hb_malloc devuelve NULL antes de usar 'placement new' para construir un objeto en la dirección de puntero devuelta. Cuando hb_malloc falla al asignar memoria (lo que puede ocurrir en condiciones de poca memoria o al usar asignadores personalizados que simulan fallos de asignación), devuelve NULL. El código entonces intenta llamar al constructor en este puntero nulo usando la sintaxis de 'placement new', lo que resulta en un comportamiento indefinido y un Fallo de Segmentación. Este problema ha sido parcheado en la versión 12.3.0.

18 Feb 2026, 17:49

Type Values Removed Values Added
CPE cpe:2.3:a:harfbuzz_project:harfbuzz:*:*:*:*:*:*:*:*
First Time Harfbuzz Project harfbuzz
Harfbuzz Project
References () https://github.com/harfbuzz/harfbuzz/commit/1265ff8d990284f04d8768f35b0e20ae5f60daae - () https://github.com/harfbuzz/harfbuzz/commit/1265ff8d990284f04d8768f35b0e20ae5f60daae - Patch
References () https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-xvjr-f2r9-c7ww - () https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-xvjr-f2r9-c7ww - Exploit, Mitigation, Vendor Advisory
References () http://www.openwall.com/lists/oss-security/2026/01/11/1 - () http://www.openwall.com/lists/oss-security/2026/01/11/1 - Exploit, Mailing List, Patch, Third Party Advisory
References () http://www.openwall.com/lists/oss-security/2026/01/12/1 - () http://www.openwall.com/lists/oss-security/2026/01/12/1 - Exploit, Mailing List, Patch, Third Party Advisory

12 Jan 2026, 06:16

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2026/01/12/1 -

11 Jan 2026, 04:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2026/01/11/1 -

10 Jan 2026, 06:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-10 06:15

Updated : 2026-06-17 10:20


NVD link : CVE-2026-22693

Mitre link : CVE-2026-22693

CVE.ORG link : CVE-2026-22693


JSON object : View

Products Affected

harfbuzz_project

  • harfbuzz
CWE
CWE-476

NULL Pointer Dereference