---
id: CVE-2026-96889
title: A flaw was found in librsvg
summary: >-
  A flaw was found in librsvg. When processing an SVG document containing nested
  XML inclusions (Xincludes) with duplicate entity declarations, a
  use-after-free error can occur. This vulnerability arises because the library
  incorrectly fre…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: Red Hat
product: glycin-loaders
affected:
  - glycin-loaders (all versions)
  - librsvg2 (all versions)
  - librsvg2
  - librsvg2 (all versions)
  - librsvg2 (all versions)
  - librsvg2 (all versions)
published: '2026-09-23'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T20:17:27.587'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-96889'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-96889'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2539279'
    label: secalert@redhat.com
  - url: 'https://crates.io/crates/librsvg'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241'
    label: secalert@redhat.com
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0305.html'
    label: secalert@redhat.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-23T20:32:10.757Z'
---

## Overview

A flaw was found in librsvg. When processing an SVG document containing nested XML inclusions (Xincludes) with duplicate entity declarations, a use-after-free error can occur. This vulnerability arises because the library incorrectly frees an XML entity that is still in use by the parser. An attacker could potentially exploit this to cause a denial of service or execute arbitrary code.

## Remediation

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