Distro News

QtSvg vulnerability in Ubuntu causes denial of service via nested SVG files

Key Takeaway

A recursion depth issue in the QtSvg module allows specially crafted SVG files to crash applications, leading to a denial of service.

Summary

Ubuntu has issued a security notice regarding a vulnerability in the QtSvg module, which is used by various applications to render Scalable Vector Graphics. The flaw stems from the module's failure to properly limit recursion depth when parsing deeply nested SVG files.

An attacker can exploit this by providing a malicious SVG file to a user or an automated system. If processed, the improper recursion can cause the host application to crash, resulting in a denial of service. The fix is currently provided through Ubuntu Pro via ESM Apps for several Long Term Support (LTS) releases.

Technical details of CVE-2026-8168

  • Defect Class: The vulnerability is a recursion depth issue that leads to a denial of service (DoS).
  • Attack Vector: An attacker can trigger the crash by tricking a user or an automated system into processing a specially crafted, deeply nested SVG file.
  • Affected Components: The issue specifically impacts the Qt 5 SVG module, specifically the libqt5svg5 and libqt5svg5-dev packages.
  • Mitigation: Fixed versions are available for Ubuntu 26.04 LTS (5.15.18-1ubuntu0.1~esm1), 24.04 LTS (5.15.13-1ubuntu0.1~esm1), and 22.04 LTS (5.15.3-1ubuntu0.1~esm2).

Why it matters

Because Qt is a foundational framework for many desktop applications and graphical interfaces, this vulnerability affects any software on Ubuntu that relies on QtSvg for image rendering. Since the fix is delivered via Ubuntu Pro's ESM Apps, users on LTS releases may need an active Ubuntu Pro subscription to receive the security update for these Universe repository packages.

Original reference: ubuntu.com →