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:92336
- https://access.redhat.com/errata/RHSA-2026:92353
- 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
| Product | Versions |
|---|---|
| Red Hat · Red Hat Enterprise Linux 10 | unaffected 0:1.0.1-1.el10_2.2 < * |
| Red Hat · Red Hat Enterprise Linux 10 | unaffected 0:2.57.1-9.el10_2.10 < * |
| Red Hat · Red Hat Enterprise Linux 8 | unaffected 0:2.42.7-6.el8_10 < * |
| Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | unaffected 0:2.42.7-4.el8_4.1 < * |
| Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | unaffected 0:2.42.7-4.el8_4.1 < * |
| Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | unaffected 0:2.42.7-4.el8_6.1 < * |
| Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | unaffected 0:2.42.7-4.el8_6.1 < * |
| Red Hat · Red Hat Enterprise Linux 9 | unaffected 0:2.50.7-3.el9_8.1 < * |
| Red Hat · Red Hat Enterprise Linux 6 | |
| Red Hat · Red Hat Enterprise Linux 7 |
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 |