CVE-2025-10728: Qt SVG stack overflow via recursive pattern rendering

CVE-2025-10728 · Severity: info · CVSS 7.5 · Published 2025-10-03

A vulnerability in the Qt SVG rendering library can cause applications to crash when processing a specially crafted image file. This library is widely used by desktop and mobile applications to display vector graphics. An attacker could exploit this by providing a malicious SVG file, leading to a denial-of-service condition where the application stops responding or closes unexpectedly.

Vendors: Qt Group.

Quick answers

Is CVE-2025-10728 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-10728 being exploited in the wild.
How severe is CVE-2025-10728?
Informational severity, with a CVSS score of 7.5, published 3 October 2025.
Which products and versions are affected?
Qt Group SVG 6.x, 5.x.
Is there a fix for CVE-2025-10728?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2025-10728 attacked?
It is attacked over the network or with local access, in a software library.
Am I affected by CVE-2025-10728?
Check whether you run Qt Group SVG at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stack overflow vulnerability exists in the Qt SVG module's handling of SVG files. The issue occurs when the renderer encounters a <pattern> element that references itself or creates a circular dependency, leading to infinite recursion during the rendering process. An attacker can exploit this by providing a malformed SVG file to any application using the affected Qt library. This results in a crash (Denial of Service) due to stack exhaustion. A patch has been developed for the qtsvg component to detect and prevent these recursive loops.

Affected products

  • Qt Group Qt SVG 6.x, 5.x

Timeline

  • 2025-03-10: advisory: Vulnerability disclosed and patch submitted to Qt Project

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.