CVE-2026-96889

critical

Description

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.

References

https://rustsec.org/advisories/RUSTSEC-2026-0305.html

https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241

https://crates.io/crates/librsvg

https://bugzilla.redhat.com/show_bug.cgi?id=2539279

https://access.redhat.com/security/cve/CVE-2026-96889

Details

Source: Mitre, NVD

Published: 2026-09-23

Updated: 2026-09-23

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical