cve.bz

CVE-2026-22693 harfbuzz project harfbuzz: NULL Pointer Dereference

5.3 mediumExploit referenceEPSS 0.5%Fix available

Medium (5.3) in harfbuzz project harfbuzz. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-01-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-22693 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-22693?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-22693?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-22693 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
harfbuzz_project:harfbuzzbefore 12.3.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12harfbuzzno fix listedDEBIAN-CVE-2026-22693
Debian13harfbuzz10.2.0-1+deb13u1DEBIAN-CVE-2026-22693
Debian14harfbuzz12.3.0-4DEBIAN-CVE-2026-22693
Ubuntu24.04:LTS, 25.10harfbuzzno fix listedUBUNTU-CVE-2026-22693
Red Hathummingbird:1harfbuzz, harfbuzz-gpu, harfbuzz-icu and 4 more0:14.1.0-2.hum1RHSA-2026:7701
SUSELinux Enterprise Module for Basesystem 15 SP7harfbuzz8.3.0-150600.3.3.1SUSE-SU-2026:0287-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0harfbuzz11.4.5-160000.1.1SUSE-SU-2026:20922-1
SUSELinux Micro 6.2harfbuzz11.4.5-160000.1.1SUSE-SU-2026:20762-1
openSUSELeap 15.6harfbuzz8.3.0-150600.3.3.1SUSE-SU-2026:0287-1
openSUSELeap 16.0harfbuzz11.4.5-160000.1.1openSUSE-SU-2026:20409-1
openSUSETumbleweedharfbuzz12.3.0-2.1openSUSE-SU-2026:10065-1
Azure Linux3harfbuzz8.3.0-4AZL-73970

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This MODERATE severity null pointer dereference in the HarfBuzz library may cause a denial of service (segmentation fault) when memory allocation fails in hb_malloc.

The issue affects Red Hat products that include and link against HarfBuzz, such as OpenJDK builds with the java.desktop module and certain RHEL components like Firefox and Thunderbird.

The java-17-openjdk-headless and java-21-openjdk-headless packages do not include java.desktop and do not link against HarfBuzz; therefore, headless-only environments are not affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imagesharfbuzz-main-14.1.0-2.hum1Fixed 2026-04-13RHSA-2026:7701
Red Hat build of OpenJDK 11 ELSjava-11-openjdkFix deferred
Red Hat build of OpenJDK 11 ELSjava-11-openjdk-portableFix deferred
Red Hat build of OpenJDK 17java-17-openjdk-portableFix deferred
Red Hat build of OpenJDK 21java-21-openjdk-portableFix deferred
Red Hat build of OpenJDK 25java-25-openjdk-portableFix deferred
Red Hat Enterprise Linux 10firefoxFix deferred
Red Hat Enterprise Linux 10harfbuzzFix deferred
Red Hat Enterprise Linux 10java-21-openjdkFix deferred
Red Hat Enterprise Linux 10java-25-openjdkFix deferred
Red Hat Enterprise Linux 10thunderbirdFix deferred
Red Hat Enterprise Linux 7firefoxFix deferred
Red Hat Enterprise Linux 7harfbuzzFix deferred
Red Hat Enterprise Linux 8firefoxFix deferred
Red Hat Enterprise Linux 8harfbuzzFix deferred
Red Hat Enterprise Linux 8java-17-openjdkFix deferred
Red Hat Enterprise Linux 8java-21-openjdkFix deferred
Red Hat Enterprise Linux 8mingw-harfbuzzFix deferred
Red Hat Enterprise Linux 8thunderbirdFix deferred
Red Hat Enterprise Linux 9firefoxFix deferred
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-22693.

References

Check your stackJSON