banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      Digital Forensics, IRR & Breach Readiness
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-25193

CVE-2023-25193: Harfbuzz DoS Vulnerability

CVE-2023-25193 is a denial of service vulnerability in Harfbuzz that allows attackers to trigger O(n^2) growth through consecutive marks. This post covers the technical details, affected versions, impact, and mitigation.

Published: February 11, 2026

CVE-2023-25193 Overview

CVE-2023-25193 is an algorithmic complexity vulnerability in HarfBuzz, a widely-used text shaping library. The vulnerability exists in hb-ot-layout-gsubgpos.hh through version 6.0.0, where attackers can trigger O(n²) growth via consecutive marks during the process of looking back for base glyphs when attaching marks. This quadratic complexity can lead to significant performance degradation and denial of service conditions when processing specially crafted font data.

Critical Impact

This vulnerability allows remote attackers to cause denial of service through resource exhaustion by exploiting the quadratic algorithmic complexity in mark attachment processing, potentially affecting applications that render untrusted fonts including web browsers and document processors.

Affected Products

  • HarfBuzz Project HarfBuzz through version 6.0.0
  • Fedora Project Fedora 36
  • Applications embedding HarfBuzz for text shaping (including Chromium-based browsers)

Discovery Timeline

  • 2023-02-04 - CVE-2023-25193 published to NVD
  • 2025-03-25 - Last updated in NVD database

Technical Details for CVE-2023-25193

Vulnerability Analysis

The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The flaw exists in the OpenType layout processing code within HarfBuzz, specifically in the glyph substitution and positioning (GSUB/GPOS) handling routines. When the text shaping engine processes fonts with consecutive mark characters, the algorithm performs a backward search for base glyphs without adequate bounds checking.

The unbounded lookback operation means that for each mark glyph, the algorithm may traverse an increasingly large number of preceding glyphs. With n consecutive marks, this results in approximately n² total operations, creating an algorithmic complexity attack vector. An attacker can craft malicious font files or text input that exploits this behavior to consume excessive CPU resources.

Root Cause

The root cause lies in the hb-ot-layout-gsubgpos.hh header file, where the backward search algorithm for base glyph attachment lacked a proper limit on how far back the search could traverse. When processing mark glyphs (such as combining diacritics), the code would search backwards through all preceding glyphs without restriction, leading to quadratic time complexity when many consecutive marks are present.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Crafting a malicious font file containing sequences that trigger excessive mark lookback operations
  2. Delivering the malicious content through web pages, documents, or other media that trigger font rendering
  3. Causing the target application to enter a resource-exhausted state, resulting in denial of service

The attack can be delivered remotely through any application that uses HarfBuzz for text rendering, including web browsers, PDF viewers, and document editors.

text
       unsigned stop = num_items - 1;
       if (c->buffer->flags & HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT)
         stop = 1 - 1;
+
+      /* When looking back, limit how far we search; this function is mostly
+       * used for looking back for base glyphs when attaching marks. If we
+       * don't limit, we can get O(n^2) behavior where n is the number of
+       * consecutive marks. */
+      stop = (unsigned) hb_max ((int) stop, (int) idx - HB_MAX_CONTEXT_LENGTH);
+
       while (idx > stop)
       {
 	idx--;

Source: GitHub HarfBuzz Commit

The patch introduces a limit using HB_MAX_CONTEXT_LENGTH to constrain the backward search, preventing the quadratic complexity by ensuring the lookback never exceeds a fixed maximum distance.

Detection Methods for CVE-2023-25193

Indicators of Compromise

  • Abnormally high CPU utilization during text rendering or font processing operations
  • Application hangs or freezes when processing documents containing unusual font sequences
  • Increased memory consumption in processes that handle text shaping
  • Slow response times in web browsers when rendering specific web pages with embedded fonts

Detection Strategies

  • Monitor for excessive CPU consumption in processes using HarfBuzz libraries (e.g., browser rendering engines, PDF processors)
  • Implement resource monitoring to detect processes exhibiting quadratic time complexity patterns
  • Deploy application-level logging to track font processing times and identify anomalous durations
  • Use software composition analysis (SCA) tools to identify vulnerable HarfBuzz versions in your environment

Monitoring Recommendations

  • Configure alerts for sustained high CPU usage in applications known to use HarfBuzz for text rendering
  • Implement timeouts for font processing operations to prevent indefinite resource consumption
  • Monitor network traffic for delivery of potentially malicious font files or documents
  • Deploy endpoint detection and response (EDR) solutions to identify denial of service patterns

How to Mitigate CVE-2023-25193

Immediate Actions Required

  • Update HarfBuzz to a version that includes the security patch (commit 85be877925ddbf34f74a1229f3ca1716bb6170dc or later)
  • Update Chromium-based browsers and other applications that bundle HarfBuzz
  • Apply available operating system and distribution patches (Fedora users should apply the relevant package updates)
  • Review and update any custom applications that directly integrate HarfBuzz

Patch Information

The vulnerability has been addressed in the official HarfBuzz commit which limits the backward search distance using HB_MAX_CONTEXT_LENGTH. Chromium has also updated its bundled HarfBuzz version as noted in the Chromium DEPS configuration. Fedora has released package updates addressing this vulnerability as documented in the Fedora package announcements.

Workarounds

  • Implement input validation to reject fonts or documents with an unusually high number of consecutive mark characters
  • Configure application-level timeouts to terminate font processing operations that exceed reasonable durations
  • Consider sandboxing font rendering processes to limit the impact of resource exhaustion attacks
  • Disable untrusted font loading where possible until patches can be applied
bash
# Check HarfBuzz version on Linux systems
pkg-config --modversion harfbuzz

# Verify if patched version is installed (Fedora)
rpm -q harfbuzz

# Update HarfBuzz on Fedora
sudo dnf update harfbuzz

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechHarfbuzz

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • GitHub HarfBuzz Header File

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory
  • Vendor Resources
  • Chromium DEPS Configuration

  • GitHub HarfBuzz Commit Update
  • Related CVEs
  • CVE-2022-33068: Harfbuzz Integer Overflow DoS Vulnerability

  • CVE-2026-0943: HarfBuzz::Shaper Null Pointer Vulnerability

  • CVE-2026-22693: HarfBuzz Buffer Overflow Vulnerability

  • CVE-2024-56732: HarfBuzz Buffer Overflow Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • English
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use