JLSEC-2026-2031: Uncontrolled recursion in Qt's QDomDocument serialization (QtXml) lets deeply nested untrusted...

Published Dec 2, 2026
·
Updated

Uncontrolled recursion (CWE-674) in the QDomDocument/QDomNode serialization path of the Qt XML module (QtXml, qtbase). QDomElementPrivate::save() and QDomNodePrivate::save() recurse mutually, consuming one stack frame per level of element nesting with no depth limit, no configurable bound and no error return. A document with deeply nested elements parses successfully but exhausts the call stack and terminates the process when serialized. Reachable via QDomDocument::toByteArray() (Qt 4.0 and later), QDomDocument::toString(), QDomDocument::toCString(), QDomNode::save(), and operator<<(QTextStream&, const QDomNode&). Denial of service only — no code execution and no memory disclosure.

Affected Software

3 affected componentsFixes available
julia/qt5base_jll*
julia/qt6base_jll<6.8.2+0
6.8.2+0
julia/qt_jll*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/Qt6Base_jll to a version that resolves this vulnerability.

    Fixed in 6.8.2+0

Event History

Dec 2, 2026
Advisory Published
via OSV·07:47 PM
Data Sourced
via OSV·07:47 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which applications are exposed in practice?

Applications are exposed if they accept untrusted XML into a QDomDocument or QDomNode and subsequently serialize that document or node. The affected serialization interfaces include toByteArray(), toString(), toCString(), QDomNode::save(), and QTextStream output using operator<<.

2

What must an attacker do to trigger the denial of service?

An attacker needs to provide an XML document with sufficiently deep element nesting and cause the application to serialize it. No privileges are required, but the supplied CVSS vector indicates user interaction is required.

3

Can the nesting depth be limited through QtXml configuration?

No. The affected serialization path has no depth limit, no configurable bound, and no error return for excessive nesting.

4

What is the expected impact if exploitation succeeds?

Serialization exhausts the process call stack and terminates the process, causing a denial of service. The provided information states that this does not enable code execution or memory disclosure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203