Menu

Security advisory: CVE-2026-82292 NULL pointer dereference vulnerability in QDomDocument::setContent() XML parsing impacts Qt
📰

Security advisory: CVE-2026-82292 NULL pointer dereference vulnerability in QDomDocument::setContent() XML parsing impacts Qt

Planet Qt·5 days ago
#mfBVWB3d
#planetqt#qt#qtbase#vulnerability#null
Reading 0:00
15s threshold

A NULL pointer dereference vulnerability in the Qt Framework QDomDocument::setContent() XML parsing path of the Qt XML module (qtbase) has been discovered and has been assigned the CVE id CVE-2026-82292.

Affected versions: from Qt 4.1.0 to Qt 6.8.8, from Qt 6.9.0 to Qt 6.11.2

Affected status unknown before Qt 4.1.0

Impact: The issue occurs when XML containing characters that are invalid under XML 1.0 is parsed through QDomDocument::setContent() while invalidDataPolicy is set to QDomImplementation::ReturnNullNode. The document node factory returns a null node, and the DOM builder then dereferences that pointer without a null check. Worst case is an application crash (denial of service). There is no impact on confidentiality or integrity.

CVSS 4.0 Score: 1.9 / LOW

Vector String: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/R:U/RE:L

Mitigation: Validate XML data separately before passing it to QDomDocument::setContent(). Only parse XML originating from trusted sources.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.