CVE-2026-96889
Librsvg: use-after-free when xml includes have duplicated entities
HIGH 7.8
At a glance
- Source
- NVD
- EPSS
- EPSS 0.53 % · percentile 45 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Awaiting Analysis
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.
Weaknesses (CWE)
- CWE-416 — Use After Free
References
- https://access.redhat.com/errata/RHSA-2026:86331
- https://access.redhat.com/errata/RHSA-2026:86841
- https://access.redhat.com/errata/RHSA-2026:86842
- https://access.redhat.com/errata/RHSA-2026:86921
- https://access.redhat.com/errata/RHSA-2026:92212
- https://access.redhat.com/errata/RHSA-2026:92213
- https://access.redhat.com/errata/RHSA-2026:92214
- https://access.redhat.com/errata/RHSA-2026:92218
- https://access.redhat.com/errata/RHSA-2026:92336
- https://access.redhat.com/errata/RHSA-2026:92353
- https://access.redhat.com/errata/RHSA-2026:92382
- https://access.redhat.com/errata/RHSA-2026:92579
- https://access.redhat.com/security/cve/CVE-2026-96889
- https://bugzilla.redhat.com/show_bug.cgi?id=2539279
- https://crates.io/crates/librsvg
- https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241
- https://rustsec.org/advisories/RUSTSEC-2026-0305.html
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-85608
- GCVE · GCVE-0-2026-96889
Affected products
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |