---
id: CVE-2026-6210
title: >-
  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* wi…
summary: >-
  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* wi…
severity: none
cwe:
  - CWE-122
  - CWE-843
published: '2026-05-06'
updated: '2026-07-29'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6210'
references:
  - url: 'https://codereview.qt-project.org/c/qt/qtsvg/+/724887'
    label: a59d8014-47c4-4630-ab43-e1b13cbe58e3
  - url: 'https://issues.oss-fuzz.com/issues/496327371'
    label: a59d8014-47c4-4630-ab43-e1b13cbe58e3
tags:
  - nvd
epss: 0.00472
epssPercentile: 0.38144
ingestedAt: '2026-07-29T10:45:50.870Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
