CVE-2026-6210

Type confusion and heap-buffer-overflow in Qt SVG marker handling causing application crash

State
Published
Severity
8.7 High
Published
May 6, 2026
Updated
Jul 29, 2026
Reserved
Apr 13, 2026

Read the record on cve.org

Description

A type confusion vulnerability in Qt SVG allows an attacker to cause an application crash via a crafted SVG image.

When processing SVG marker references, the renderer retrieves a node by its id attribute and casts it to QSvgMarker* without verifying the node type. A non-marker element (such as a <line> element) that references itself as a marker triggers an out-of-bounds heap read due to the object size difference between QSvgLine and QSvgMarker, followed by an endless recursion that bypasses the marker recursion guard through incorrect virtual dispatch. The result is an application crash (denial of service).

This issue affects Qt SVG:  from 6.7.0 before 6.8.8, from 6.9.0 before 6.11.1.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NTQtC

Weaknesses

  • CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
  • CWE-122 Heap-based Buffer Overflow

Affected Products

ProductVersions
QtQt
  • 6.7.0 to before 6.8.8Affected
  • 6.9.0 to before 6.11.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.