Security advisory: Uncontrolled Recursion and Use-After-Free vulnerabilities in Qt SVG module impact Qt
Two vulnerabilities in Qt SVG module have been discovered. Uncontrolled recursion vulnerability has been assigned the CVE id CVE-2025-10728. Whereas Use-After-Free vulnerability has been assigned the CVE id CVE-2025-10729.
Uncontrolled recursion vulnerability in Qt SVG CVE-2025-10728
Affected versions: From Qt 6.7.0 to 6.8.4 and from 6.9.0 to 6.9.2.
Impact: When the module renders a Svg file that contains a
CVSS 4.0 Score: 9.4
Mitigation: Ensure that all input to the Qt SVG module is only from trusted sources.
Solution: Apply the following patch or update to Qt 6.9.3 or 6.8.5
Patches:
dev: https://codereview.qt-project.org/c/qt/qtsvg/+/654200
Qt 6.9: https://codereview.qt-project.org/c/qt/qtsvg/+/670894 or https://download.qt.io/official_releases/qt/6.9/CVE-2025-10728-qtsvg-6.9.diff
Qt 6.8: https://codereview.qt-project.org/c/qt/tqtc-qtsvg/+/671537 or https://download.qt.io/official_releases/qt/6.8/CVE-2025-10728-qtsvg-6.8.diff
Use-After-Free vulnerability in Qt SVG CVE-2025-10729
Affected versions: From Qt 6.7.0 to 6.8.4 and from 6.9.0 to 6.9.2.
Impact: When the module parses a
CVSS 4.0 Score: 9.4
Mitigation: Ensure that all input to the Qt SVG module is only from trusted sources.
Solution: Apply the following patch or update to Qt 6.9.3 or 6.8.5
Patches:
dev: https://codereview.qt-project.org/c/qt/qtsvg/+/675562
Qt 6.9: https://codereview.qt-project.org/c/qt/qtsvg/+/676501 or https://download.qt.io/official_releases/qt/6.9/CVE-2025-10729-qtsvg-6.9.diff
Qt 6.8: https://codereview.qt-project.org/c/qt/tqtc-qtsvg/+/676621 or https://download.qt.io/official_releases/qt/6.8/CVE-2025-10729-qtsvg-6.8.diff
More on SVG
More from Tuukka Kettunen
- Security advisory: CVE-2026-15037 - XML injection vulnerability in QDom comment, CDATA and processing-instruction serialization
- Security advisory: Out-of-bounds read vulnerability in QTextCodec::codecForName() in Qt
- Security advisory: Untrusted Search Path vulnerability in OpenSSL backend certificate loading mechanism of Qt