CVE-2026-8168
7.1HighPublished 19 Oct 2026 · NVD status: Received · AI triage by gemini-3.8-flash
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Passive
- Impact
- High impact on availability
- Weakness
- CWE-674
Impact
Attackers can crash applications rendering user-supplied SVGs via stack exhaustion. They need to get the application or user to parse a specially crafted, deeply nested SVG file.
Root cause
The QtSvg parser and renderer lacks a recursion depth limit when processing nested SVG elements, leading to uncontrolled recursion.
Affected systems
Qt Group Qt (QtSvg module). Versions not listed — check the vendor advisory.
CVSS v4.0 · 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
Fix & remediation
Apply the QtSvg patches from the upstream Qt code review commits. If patching is delayed, avoid rendering untrusted SVG files or sanitize inputs to reject deeply nested elements.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://codereview.qt-project.org/c/qt/qtsvg/+/730501
- https://codereview.qt-project.org/c/qt/qtsvg/+/730590
- https://codereview.qt-project.org/c/qt/qtsvg/+/730591
- https://codereview.qt-project.org/c/qt/qtsvg/+/730892
- https://codereview.qt-project.org/c/qt/qtsvg/+/731257
- https://codereview.qt-project.org/c/qt/qtsvg/+/733245
- https://codereview.qt-project.org/c/qt/qtsvg/+/738811
- https://codereview.qt-project.org/c/qt/qtsvg/+/743488
- https://codereview.qt-project.org/c/qt/qtsvg/+/748966
- https://codereview.qt-project.org/c/qt/qtsvg/+/756512
- https://wiki.qt.io/List_of_known_vulnerabilities_in_Qt_products#CVE-2026-8168: