CVE-2026-96889
Librsvg: use-after-free when xml includes have duplicated entities
Also known as GHSA-cpvr-w4j5-2mpg, RUSTSEC-2026-0305
Mitigation
- Upgrade librsvg to one of 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2 (or later in the same release line).
- Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Who should check
- Projects that depend on crates.io package librsvg (< 2.57.5)
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 10.0 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On all versions
- Anyone running Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions
Vulnerability facts
- Affected
- librsvg < 2.57.5
- Fixed in
- 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.09% chance of exploitation in 30 days (percentile 65, 2026-11-26)
- CWE
- CWE-416
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-96889. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-96889.md Affected: librsvg < 2.57.5 Fixed in: 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2 Steps: 1. Search this machine and project for librsvg (crates.io), Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- 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:92573
- https://access.redhat.com/errata/RHSA-2026:92579
- https://access.redhat.com/errata/RHSA-2026:94452
- https://access.redhat.com/errata/RHSA-2026:94453
- https://access.redhat.com/errata/RHSA-2026:94454
- https://access.redhat.com/errata/RHSA-2026:94455
- https://access.redhat.com/errata/RHSA-2026:94457
- https://access.redhat.com/errata/RHSA-2026:94458
- https://access.redhat.com/errata/RHSA-2026:94459
- https://access.redhat.com/errata/RHSA-2026:94460
- https://access.redhat.com/errata/RHSA-2026:94461
- https://access.redhat.com/errata/RHSA-2026:94462
- https://access.redhat.com/errata/RHSA-2026:94463
- https://access.redhat.com/errata/RHSA-2026:94464
- https://access.redhat.com/errata/RHSA-2026:94465
- https://access.redhat.com/errata/RHSA-2026:94466
- https://access.redhat.com/errata/RHSA-2026:94467
- https://access.redhat.com/errata/RHSA-2026:94468
- https://access.redhat.com/errata/RHSA-2026:94469
- https://access.redhat.com/errata/RHSA-2026:94470
- https://access.redhat.com/errata/RHSA-2026:94471
- https://access.redhat.com/errata/RHSA-2026:94472
- https://access.redhat.com/errata/RHSA-2026:94473
- https://access.redhat.com/errata/RHSA-2026:94474
- https://access.redhat.com/errata/RHSA-2026:94476
- https://access.redhat.com/errata/RHSA-2026:98482
- https://access.redhat.com/errata/RHSA-2026:98584
- https://access.redhat.com/errata/RHSA-2026:98591
- https://rustsec.org/advisories/RUSTSEC-2026-0305.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-96889
Patches
- https://github.com/GNOME/librsvg/commit/0bc935e675947e185d42005d3ad93d7cf61bcea9
- https://github.com/GNOME/librsvg/commit/1606574427408baca8203ef723281509a229f9e2
- https://github.com/GNOME/librsvg/commit/4d0051a9dbd038a5fe8461b61486677d88f8736d
- https://github.com/GNOME/librsvg/commit/e56cc8a33a7184eef6e8a720414aee6205a400ad
- https://gitlab.gnome.org/GNOME/librsvg/-/commit/8a1b0cd319e9af2d1e9cf878081dd77f227a0504
Exploits and PoCs
Other
- 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/-/merge_requests/1211
- https://gitlab.gnome.org/GNOME/librsvg
- https://github.com/GNOME/librsvg/releases/tag/2.63.2
- https://github.com/GNOME/librsvg/releases/tag/2.62.4
- https://github.com/GNOME/librsvg/releases/tag/2.61.5
- https://github.com/GNOME/librsvg/releases/tag/2.60.3
- https://github.com/GNOME/librsvg/releases/tag/2.57.5
- https://github.com/GNOME/librsvg/blob/2.63.2/NEWS
FAQ
Is CVE-2026-96889 being exploited?
There is no confirmed exploitation: CVE-2026-96889 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.09% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-96889?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-96889?
librsvg < 2.57.5.
Is there a fix for CVE-2026-96889?
Yes. Fixed in 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2. Upgrade librsvg to one of 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2 (or later in the same release line). Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
How do I check if I'm affected by CVE-2026-96889?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.