Denial of Service Vulnerability in QtCore's qDecodeDataUrl Function - Affected Packages: qt6-base, qtbase-opensource-src, qtbase-opensource-src-gles

qt6-base Updated 02 Oct 2025

Summary

02/06/2025
N/A
No i
Unrated
Not published

CVE-2025-5455: An issue was found in the private API function qDecodeDataUrl() in QtCore, which is used in QTextDocument and QNetworkReply, and, potentially, in user code. Affects qt6-base versions 6.4.2+dfsg-10 – 6.9.1+dfsg-3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Qt is a widely-used open-source framework for developing cross-platform applications. It provides a comprehensive set of libraries and tools for building graphical user interfaces, handling network communications, and managing multimedia content. The affected packages, qt6-base, qtbase-opensource-src, and qtbase-opensource-src-gles, are essential components of the Qt framework, enabling developers to create robust applications. However, a vulnerability in the private API function qDecodeDataUrl() poses a risk to applications utilizing these packages, particularly when handling malformed data URLs.

Vulnerability Detail

An issue was found in the private API function qDecodeDataUrl() in QtCore, which is utilized in QTextDocument and QNetworkReply, and potentially in user code. If this function is called with malformed data, such as a URL containing a 'charset' parameter without a value (e.g., 'data:charset,'), it triggers an assertion failure when Qt is built with assertions enabled. This results in a denial of service (DoS) condition, causing the application to abort unexpectedly. The vulnerability affects Qt versions up to 5.15.18, 6.0.0 to 6.5.8, 6.6.0 to 6.8.3, and 6.9.0.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, ensure that your application does not pass malformed data URLs to the qDecodeDataUrl() function. Implement input validation to check for the presence of valid 'charset' parameters before processing URLs.

Conclusion

The vulnerability in the qDecodeDataUrl() function poses a significant risk of denial of service for applications using the affected Qt packages. It is crucial to update to the patched versions to mitigate this risk and ensure the stability of your applications.

See every vulnerability recorded for qt6-base →

Share this vulnerability

FAQ

The vulnerability is a denial of service (DoS) issue caused by the qDecodeDataUrl() function in QtCore, which can abort the application when handling malformed data URLs.

The vulnerability affects Qt versions up to 5.15.18, 6.0.0 to 6.5.8, 6.6.0 to 6.8.3, and 6.9.0.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Without requiring access to the code or installation, you can check your application using a manifest file like package-lock.json.

Update the affected packages to their patched versions (qt6-base 5.15.19, 6.5.9, 6.8.4, 6.9.1; qtbase-opensource-src 5.15.19, 6.5.9, 6.8.4, 6.9.1) and implement input validation for data URLs.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for qt6-base.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback