Arbitrary Code Injection Vulnerability in qt6-declarative Package

qt6-declarative Updated 08 May 2026

Summary

30/04/2026
N/A
No i
High
7.8

DEBIAN-CVE-2025-14576: Insufficient validation of node IDs in Qt SVG module allows arbitrary QML/JavaScript code injection when loading malicious SVG files through the VectorImage component in Qt Quick. Affects qt6-declarative versions 6.10.2+dfsg-1 – 6.9.2+dfsg-6. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The qt6-declarative package is part of the Qt framework, which is widely used for developing cross-platform applications with a focus on graphical user interfaces. This package specifically handles QML (Qt Modeling Language) and JavaScript components, enabling developers to create dynamic and responsive user interfaces. However, it is susceptible to a vulnerability that allows for arbitrary code execution when processing malicious SVG files, posing significant risks to applications that utilize this package.

Vulnerability Detail

The vulnerability arises from insufficient validation of node IDs within the Qt SVG module. When malicious SVG files are loaded through the VectorImage component in Qt Quick, it can lead to arbitrary QML/JavaScript code injection. Although QML execution is generally more restricted than native code execution, this vulnerability can still result in denial of service, information disclosure, or other impacts depending on the application's privilege level and data access. The CVSS score for this vulnerability is 7.8, indicating a high severity level.

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, you can avoid loading untrusted SVG files in your application until the package is updated. Additionally, consider implementing stricter validation checks on SVG files before processing them.

Conclusion

The qt6-declarative package has a critical vulnerability that allows for arbitrary code injection through malicious SVG files. It is essential to update to the patched version to mitigate risks. Additionally, using tools like Vulert can help monitor for vulnerabilities in your software effectively.

See every vulnerability recorded for qt6-declarative →

Share this vulnerability

FAQ

The vulnerability allows for arbitrary code injection through insufficient validation of node IDs when loading malicious SVG files.

The impacts can include denial of service, information disclosure, and other security risks depending on the application's privilege level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The recommended action is to update the qt6-declarative package to version 6.10.2+dfsg-4 or later.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for qt6-declarative.

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