Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • 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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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
      DFIR, Breach Readiness, & Compromise Assessments
    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
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • 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-2025-30348

CVE-2025-30348: Qt Qt XXE Vulnerability

CVE-2025-30348 is an XXE flaw in Qt Qt affecting the encodeText function in QDom before version 6.8.0. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-30348 Overview

CVE-2025-30348 is an algorithmic complexity vulnerability affecting the encodeText function in QDom, a component of the Qt framework. The vulnerability exists in Qt versions prior to 6.8.0 and involves a complex algorithm for XML string processing that performs inline replacement of string parts with relocation of subsequent data. This inefficient algorithmic approach can be exploited to cause resource exhaustion and denial of service conditions.

Critical Impact

Applications using Qt's QDom XML processing functionality may be vulnerable to denial of service attacks through specially crafted XML input that triggers excessive computational resource consumption.

Affected Products

  • Qt versions before 5.15.17
  • Qt versions from 6.0.0 before 6.5.8
  • Qt versions from 6.6.0 before 6.8.0

Discovery Timeline

  • 2025-03-21 - CVE-2025-30348 published to NVD
  • 2025-03-24 - Last updated in NVD database

Technical Details for CVE-2025-30348

Vulnerability Analysis

The vulnerability resides in the encodeText function within QDom, Qt's Document Object Model implementation for XML processing. The function employs a complex algorithm that performs XML string copy operations combined with inline replacement of string segments. When replacements occur, the algorithm relocates subsequent data within the string, creating an inefficient processing pattern.

This implementation approach leads to CWE-407: Inefficient Algorithmic Complexity. When processing carefully crafted XML input, the algorithm can exhibit quadratic or worse time complexity, causing significant CPU resource consumption. An attacker can exploit this by submitting XML data designed to maximize the number of inline replacements and data relocations, effectively creating a denial of service condition.

The network-accessible nature of this vulnerability means that any application exposing Qt-based XML parsing functionality to external input could be affected. No authentication is required to exploit this vulnerability, and no user interaction is necessary.

Root Cause

The root cause of CVE-2025-30348 is the inefficient algorithmic design in the encodeText function. Rather than using an optimized string building approach that would achieve linear time complexity, the implementation performs repeated inline modifications with data relocation. Each replacement operation potentially requires moving all subsequent characters in the string, leading to algorithmic complexity that can be exploited for resource exhaustion attacks.

Attack Vector

The attack vector for this vulnerability is network-based. An attacker can exploit this vulnerability by sending specially crafted XML data to an application that processes it using Qt's QDom functionality. The malicious input would be designed to maximize the number of text encoding operations and string relocations, causing the encodeText function to consume excessive CPU cycles.

Since the vulnerability requires no privileges and no user interaction, any network-exposed service using vulnerable Qt versions for XML processing represents a potential target. The attack results in availability impact through resource exhaustion, though no confidentiality or integrity compromise occurs.

Detection Methods for CVE-2025-30348

Indicators of Compromise

  • Unusual CPU spikes during XML processing operations
  • Increased processing time for XML parsing tasks in Qt-based applications
  • Application unresponsiveness when handling XML input
  • Memory consumption anomalies in processes utilizing QDom functionality

Detection Strategies

  • Monitor CPU utilization patterns for Qt-based applications processing XML data
  • Implement input size limits and timeouts for XML parsing operations
  • Enable application performance monitoring to detect algorithmic complexity attacks
  • Review application logs for extended XML processing durations

Monitoring Recommendations

  • Configure alerts for abnormal resource consumption in Qt-based services
  • Implement request rate limiting for endpoints accepting XML input
  • Monitor thread pool exhaustion in applications using QDom
  • Track XML parsing operation durations as a baseline for anomaly detection

How to Mitigate CVE-2025-30348

Immediate Actions Required

  • Upgrade Qt to version 6.8.0 or later for affected 6.x installations
  • Upgrade Qt to version 6.5.8 or later for 6.5.x branch installations
  • Upgrade Qt to version 5.15.17 or later for 5.x installations
  • Implement input validation and size limits for XML data before processing

Patch Information

Qt has released patches addressing this algorithmic complexity issue. The fix is available through the Qt Project Code Review. Organizations should update to the following patched versions:

  • Qt 5.15.17 or later for the 5.x branch
  • Qt 6.5.8 or later for the 6.5.x branch
  • Qt 6.8.0 or later for newer 6.x installations

Workarounds

  • Implement strict XML input size limits to reduce attack surface
  • Add processing timeouts for XML parsing operations
  • Consider using alternative XML parsing libraries for high-risk input sources
  • Deploy network-level rate limiting for services accepting XML input
bash
# Example: Setting resource limits for Qt applications on Linux
# Limit CPU time to prevent runaway processing
ulimit -t 60

# Or configure via systemd service unit
# Add to [Service] section:
# CPUQuota=50%
# TimeoutSec=30

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechQt

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-407
  • Vendor Resources
  • Qt Project Code Review
  • Related CVEs
  • CVE-2023-37369: Qt QXmlStreamReader XXE Vulnerability

  • CVE-2024-39936: Qt HTTP2 Privilege Escalation Vulnerability

  • CVE-2024-36048: Qt Network Authorization Vulnerability

  • CVE-2024-25580: Qt Buffer Overflow Vulnerability
Default Legacy - Prefooter | 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
  • 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

English