A vulnerability in librsvg was discovered where duplicate XML entity declarations are incorrectly handled during processing of SVG files with nested XML inclusions. This flaw could allow an attacker to cause a denial of service or execute arbitrary code by opening a specially crafted SVG file. Fixed versions are available in Ubuntu 24.04 LTS and 26.04 LTS releases.