p PatchFirst

CVE-2026-22693

CVE-2026-22693 · Null Pointer Dereference in SubtableUnicodesCache::create leading to DoS

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.3 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • harfbuzz

    Versions
    • < 12.3.0: Affected

    No fix published

  • harfbuzz Debian:12

    Versions
    • 10.0.1-1
    • 10.1.0-1
    • 10.1.0-2
    • 10.2.0-1
    • 10.2.0-2
    • 11.4.5-1
    • 11.5.0-1
    • 12.1.0-1
    • 12.2.0-1
    • 12.3.0-1
    • 12.3.0-2
    • 12.3.0-3
    • 12.3.0-4
    • 12.3.1-1
    • 12.3.2-1
    • 12.3.2-2
    • 6.0.0+dfsg-3
    • 8.0.0-1
    • 8.0.0-2
    • 8.0.0-3
    • 8.0.1-1
    • 8.3.0-1
    • 8.3.0-2
    • 9.0.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • harfbuzz Debian:13

    Versions
    • 10.2.0-1
    Affected ranges
    • ECOSYSTEM: < 10.2.0-1+deb13u1

    Update to 10.2.0-1+deb13u1

  • harfbuzz Debian:14

    Versions
    • 10.2.0-1
    • 10.2.0-2
    • 11.4.5-1
    • 11.5.0-1
    • 12.1.0-1
    • 12.2.0-1
    • 12.3.0-1
    • 12.3.0-2
    • 12.3.0-3
    Affected ranges
    • ECOSYSTEM: < 12.3.0-4

    Update to 12.3.0-4

  • harfbuzz Ubuntu:24.04:LTS

    Versions
    • 8.0.1-1
    • 8.0.1-1build1
    • 8.3.0-2
    • 8.3.0-2build1
    • 8.3.0-2build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • harfbuzz Ubuntu:25.10

    Versions
    • 10.2.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →