qt: Uncontrolled Recursion
CVE-2026-8168 is a high-severity uncontrolled recursion vulnerability in qt, with a CVSS 4.0 base score of 7.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists versions 6.8.9, 6.11.2 as the first without the flaw, so updating qt to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.4% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update qt to 6.8.9 or 6.11.2, whichever matches your release line, or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
- Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Qt | qt | 4.1.0 up to, but not including, 6.8.9; 6.9.0 up to, but not including, 6.11.2 | 6.8.9, 6.11.2 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Attack requirements
- NoneThe attack does not depend on a particular deployment or configuration.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- PassiveA user only needs to do something routine, such as viewing a page.
- Confidentiality (vulnerable system)
- NoneNo loss of confidentiality on the vulnerable system.
- Integrity (vulnerable system)
- NoneNo loss of integrity on the vulnerable system.
- Availability (vulnerable system)
- HighSerious loss of availability on the vulnerable system.
- Confidentiality (other systems)
- NoneNo loss of confidentiality on systems beyond the vulnerable one.
- Integrity (other systems)
- NoneNo loss of integrity on systems beyond the vulnerable one.
- Availability (other systems)
- NoneNo loss of availability on systems beyond the vulnerable one.
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X. Scored by CNA.
Official description
Uncontrolled recursion in the SVG parser and renderer of the Qt SVG module (QtSvg) in Qt Group Qt allows attackers to cause a denial of service (application crash via stack exhaustion) via a crafted SVG file with deeply nested elements.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Uncontrolled Recursion
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
How developers prevent this class of flaw
- Ensure that an end condition will be reached under all logic conditions. The end condition may include checking against the depth of recursion and exiting with an error if the recursion goes too deep. The complexity of the end condition contributes to the effectiveness of this action.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
References
Other references
- codereview.qt-project.org/c/qt/qtsvg/+/730501
- codereview.qt-project.org/c/qt/qtsvg/+/730590
- codereview.qt-project.org/c/qt/qtsvg/+/730591
- codereview.qt-project.org/c/qt/qtsvg/+/730892
- codereview.qt-project.org/c/qt/qtsvg/+/731257
- codereview.qt-project.org/c/qt/qtsvg/+/733245
- codereview.qt-project.org/c/qt/qtsvg/+/738811
- codereview.qt-project.org/c/qt/qtsvg/+/743488
- codereview.qt-project.org/c/qt/qtsvg/+/748966
- codereview.qt-project.org/c/qt/qtsvg/+/756512
- wiki.qt.io/List_of_known_vulnerabilities_in_Qt_products#CVE-2026-8168:
Other vulnerabilities in qt
- 8.7 High severity
- 7.1 High severity
- 8.7 High severity
- 7.8 High severity
- 8.7 High severity
- 9.2 Critical severity
Recent Uncontrolled Recursion vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 8.7 High severity
- 8.7 High severity
Spotted an error? Tell us.