Red Hat VEX
RHVEX-CVE-2026-96889
librsvg: Use-after-free when XML includes have duplicated entities
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | librsvg2 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | librsvg2-devel | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2026-96889
- https://bugzilla.redhat.com/show_bug.cgi?id=2539279
- https://www.cve.org/CVERecord?id=CVE-2026-96889
- https://nvd.nist.gov/vuln/detail/CVE-2026-96889
- https://crates.io/crates/librsvg
- https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241
- https://rustsec.org/advisories/RUSTSEC-2026-0305.html