CVE-2026-96889
librsvg: Use-after-free when XML includes have duplicated entities
Overview
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-416
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | librsvg | <2.57.5>=2.60.0-beta.0, <2.60.3>=2.61.0, <2.61.5>=2.62.0-beta.0, <2.62.4>=2.63.0-beta.0, <2.63.2 | 2.57.52.60.32.61.52.62.42.63.2 |
Open a package to see all its vulnerabilities.
Operating systems · 38 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | librsvg2 | 0:2.58.1-9.azl3 |
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | librsvg2 +2 | 2.42.7-6.el8_10 |
| 9 | librsvg2 +2 | 2.50.7-3.el9_8.1 |
Red Hat 3 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | librsvg2 +2 | 0:2.40.20-1.el7_9.1 | RHSA-2026:92579 |
| 8 | librsvg2 +2 | 0:2.42.7-4.el8_4.1 | RHSA-2026:92353 |
| 8 | librsvg2 +2 | 0:2.42.7-4.el8_6.1 | RHSA-2026:92336 |
| 8 | librsvg2 +2 | 0:2.42.7-4.el8_8.1 | RHSA-2026:92382 |
| 8 | librsvg2 +2 | 0:2.42.7-6.el8_10 | RHSA-2026:86842 |
| 9 | librsvg2 +2 | 0:2.50.7-1.el9_2.2 | RHSA-2026:92213 |
4 more rows
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | gdk-pixbuf-loader-rsvg +5 | 2.60.3-160000.1.1 | SUSE-SU-2026:24202-1 |
| 16.1 | gdk-pixbuf-loader-rsvg +5 | 2.60.3-160100.1.1 | SUSE-SU-2026:24546-1 |
SUSE Linux Enterprise Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.1 | gdk-pixbuf-loader-rsvg +1 | 2.56.6-slfo.1.1_1.1 | SUSE-SU-2026:24557-1 |
| 6.2 | gdk-pixbuf-loader-rsvg +1 | 2.60.3-160000.1.1 | SUSE-SU-2026:24117-1 |
alma 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | glycin-loaders | 1.0.1-1.el10_3.2 |
| 10 | librsvg2 +3 | 2.57.1-9.el10_3.10 |
| 8 | librsvg2 +2 | 2.42.7-6.el8_10 |
| 9 | librsvg2 +2 | 2.50.7-3.el9_9.1 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | librsvg2 +7 | 2.59.2-320.amzn2023 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| wleave | 0.7.1-r1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | librsvg | affected |
| 12 | librsvg | affected |
| 13 | librsvg | 2.60.0+dfsg-1+deb13u1 |
| 14 | librsvg | 2.63.2+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| librsvg | 2.60.0+dfsg-1+deb13u1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | librsvg-2-2 +4 | 2.63.4-1.1 | openSUSE-SU-2026:12364-1 |
openSUSE Leap 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | gdk-pixbuf-loader-rsvg +5 | 2.60.3-160000.1.1 | openSUSE-SU-2026:22051-1 |
| 16.1 | gdk-pixbuf-loader-rsvg +5 | 2.60.3-160100.1.1 | openSUSE-SU-2026:22288-1 |
rocky 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | glycin-loaders | 1.0.1-1.el10_2.2 |
| 10 | librsvg2 +3 | 2.57.1-9.el10_2.10 |
| 10 | librsvg2 +3 | 2.57.1-9.el10_3.10 |
| 8 | librsvg2 +2 | 2.42.7-6.el8_10 |
| 9 | librsvg2 +2 | 2.50.7-3.el9_8.1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 24.04 | librsvg | 2.58.0+dfsg-1ubuntu0.1 |
| 26.04 | librsvg | 2.61.3+dfsg-3ubuntu0.1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:86331
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:86841
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:86842
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:86921
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:92212
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:92213
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:92214
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:92218
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:92336
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:92353
Show all 67 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:92382
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:92573
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:92579
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94452
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94453
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94454
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94455
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94457
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94458
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94459
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94460
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94461
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94462
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94463
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94464
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94465
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94466
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94467
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94468
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94469
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94470
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94471
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94472
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94473
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94474
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94476
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:98482
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:98584
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:98591
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-96889
- bugzilla.redhat.com https://bugzilla.redhat.com/2539279
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2539279
- crates.io https://crates.io/crates/librsvg
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96889
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-86921.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:86921
- github.com https://github.com/GNOME/librsvg/blob/2.63.2/NEWS
- github.com https://github.com/GNOME/librsvg/commit/0bc935e675947e185d42005d3ad93d7cf61bcea9
- github.com https://github.com/GNOME/librsvg/commit/1606574427408baca8203ef723281509a229f9e2
- github.com https://github.com/GNOME/librsvg/commit/4d0051a9dbd038a5fe8461b61486677d88f8736d
- github.com https://github.com/GNOME/librsvg/commit/e56cc8a33a7184eef6e8a720414aee6205a400ad
- github.com https://github.com/GNOME/librsvg/releases/tag/2.57.5
- github.com https://github.com/GNOME/librsvg/releases/tag/2.60.3
- github.com https://github.com/GNOME/librsvg/releases/tag/2.61.5
- github.com https://github.com/GNOME/librsvg/releases/tag/2.62.4
- github.com https://github.com/GNOME/librsvg/releases/tag/2.63.2
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/librsvg
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/librsvg/-/commit/8a1b0cd319e9af2d1e9cf878081dd77f227a0504
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/1211
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-96889.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-86921.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-96889
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2026-0305.html
- ubuntu.com https://ubuntu.com/security/notices/USN-8891-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-96889
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.