Null Pointer Dereference in SubtableUnicodesCache::create leading to DoS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 1 fixed, 8 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-476.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| harfbuzz | harfbuzz | before 12.3.0 | 12.3.0 | Patch available | CNA |
- harfbuzz Vendorharfbuzz Affected before 12.3.0 Fixed in 12.3.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:harfbuzz_project:harfbuzz:*:*:*:*:*:*:*:* | before 12.3.0 | Vulnerable | Harfbuzz Project |
- cpe:2.3:a:harfbuzz_project:harfbuzz:*:*:*:*:*:*:*:* Versions before 12.3.0 Vulnerable ·Harfbuzz Project
Remediation
- Fix · CNA harfbuzz (harfbuzz) Fixed in 12.3.0
Red Hat 1 advisory
- RHSA-2026:7701 Released 2026-04-13 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images harfbuzz-14.1.0-2.hum1@aarch64, harfbuzz-14.1.0-2.hum1@src, harfbuzz-14.1.0-2.hum1@x86_64 +12
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat build of OpenJDK 11 ELS | Affected | No fix yet: Fix deferred |
| Red Hat build of OpenJDK 17 | Affected | No fix yet: Fix deferred |
| Red Hat build of OpenJDK 21 | Affected | No fix yet: Fix deferred |
| Red Hat build of OpenJDK 25 | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Fixed | RHSA-2026:7701 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22693
References
More harfbuzz vulnerabilities
- TI-2026-76946 Out-of-bounds write in HarfBuzz WebAssembly font shaper CVSS 4.0HIGH 7.3
- TI-2026-76947 NULL pointer dereference in HarfBuzz WebAssembly shaper crashes apps CVSS 4.0MEDIUM 6.8
Sources
- CVE-2026-22693 · CVE Program
- CVE-2026-22693 · NVD
- FIRST EPSS
- CVE-2026-22693 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences