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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | — | — |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | — | — |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | — | — |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | — | — |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | — | — |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | — | — |
| Red Hat | Red Hat OpenShift AI 3.0 | — | — |
| Red Hat | Red Hat OpenShift AI 3.4 | — | — |
| Red Hat | Red Hat OpenShift AI 3.5 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | — | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | librsvg | 2.63.2+dfsg-1 | — |
| Debian 13 | librsvg | 2.60.0+dfsg-1+deb13u1 | — |
| Debian 12 | librsvg | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | librsvg | 2.61.3+dfsg-3ubuntu0.1 | USN-8891-1 |
| Ubuntu 24.04 LTS | librsvg | 2.58.0+dfsg-1ubuntu0.1 | USN-8891-1 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | glycin-loaders | 1.0.1-1.el10_2.2 | ALSA-2026:86331 |
| AlmaLinux 10 | librsvg2 +3 | 2.57.1-9.el10_2.10 | ALSA-2026:86841 |
| AlmaLinux 9 | librsvg2 +2 | 2.50.7-3.el9_8.1 | ALSA-2026:86921 |
| AlmaLinux 8 | librsvg2 +2 | 2.42.7-6.el8_10 | ALSA-2026:86842 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | glycin-loaders | 1.0.1-1.el10_2.2 | RLSA-2026:86331 |
| Rocky Linux 10 | librsvg2 | 2.57.1-9.el10_2.10 | RLSA-2026:86841 |
| Rocky Linux 9 | librsvg2 | 2.50.7-3.el9_8.1 | RLSA-2026:86921 |
| Rocky Linux 8 | librsvg2 | 2.42.7-6.el8_10 | RLSA-2026:86842 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | librsvg | 2.60.3-160000.1.1 | SUSE-SU-2026:24202-1 |
| SLES 16.0 | librsvg | 2.60.3-160000.1.1 | SUSE-SU-2026:24202-1 |
| SLE Micro 6.2 | librsvg | 2.60.3-160000.1.1 | SUSE-SU-2026:24117-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.1 | librsvg | 2.56.6-slfo.1.1_1.1 | SUSE-SU-2026:24557-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | librsvg | 2.63.4-1.1 | openSUSE-SU-2026:12364-1 |
| openSUSE Leap 16.0 | librsvg | 2.60.3-160000.1.1 | openSUSE-SU-2026:22051-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 6 repositories
-
rafabd1/VectorFreed ★ 21 · Sep 21, 2026
This repository documents the VectorFreed RCE chain and includes a PoC for CVE-2026-96889.
-
lion9453/CVE-2026-96889-nextjs-rce ★ 2 · Oct 16, 2026
Lab PoC for CVE-2026-96889: Next.js Image Optimization SVG typed as AVIF reaches librsvg UAF (RUSTSEC-2026-0305). Unauthenticated RCE on glibc Linux.
-
anishadhikari02/cve-2026-96889-payload ★ 0 · Nov 9, 2026
-
AmanSin001/next-security-check ★ 0 · Oct 23, 2026
Check a Next.js project against the October 14, 2026 security advisories (CVE-2026-96889, use cache RCE, Server Actions DoS). No dependencies.
-
CompleteTech-Security/sharp-vectorfreed-check ★ 0 · Oct 23, 2026
Offline Sharp / librsvg evidence checker for CVE-2026-96889. Sharp and librsvg version and build evidence. Standalone Python; JSON/CSV/HTML reports; no exploit payloads.
-
pauleprichna/cybersecurity ★ 0 · Oct 17, 2026
Projet de Cybersécurité (TP1 à TP9) Recherche réseau (Nmap, Scapy) • Attaques DDoS (hping3) • Force brute (Hydra, LaZagne) • Ingénierie sociale (Zphisher, Gophish) • Sécurité Wi-Fi (Airgeddon, Aircra…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | librsvg | < 2.57.5 | 2.57.5 | GHSA-cpvr-w4j5-2mpg |
| crates.io | librsvg | >= 2.60.0-beta.0, < 2.60.3 | 2.60.3 | GHSA-cpvr-w4j5-2mpg |
| crates.io | librsvg | >= 2.61.0, < 2.61.5 | 2.61.5 | GHSA-cpvr-w4j5-2mpg |
| crates.io | librsvg | >= 2.62.0-beta.0, < 2.62.4 | 2.62.4 | GHSA-cpvr-w4j5-2mpg |
| crates.io | librsvg | >= 2.63.0-beta.0, < 2.63.2 | 2.63.2 | GHSA-cpvr-w4j5-2mpg |
| crates.io | librsvg | >= 0.0.0-0, < 2.57.5 · >= 2.57.90, < 2.60.3 · >= 2.61.0, < 2.61.5 · >= 2.61.90, < 2.62.4 · >= 2.62.90, < 2.63.2 | 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2 | RUSTSEC-2026-0305 |
Advisories 15
- WID-SEC-2026-3973 Vercel Next.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 9, 2026
- SUSE-SU-2026:24557-1 Security update for librsvg SUSE / openSUSE Security Updates · Nov 7, 2026
- openSUSE-SU-2026:12364-1 librsvg-2-2-2.63.4-1.1 on GA media SUSE / openSUSE Security Updates · Oct 31, 2026
- ALSA-2026:86921 Important: librsvg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:86331 Important: glycin-loaders security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:86841 Important: librsvg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:86842 Important: librsvg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- RLSA-2026:86921 Important: librsvg2 security update Rocky Linux Security Advisories · Oct 22, 2026
- RLSA-2026:86842 Important: librsvg2 security update Rocky Linux Security Advisories · Oct 22, 2026
- RLSA-2026:86331 Important: glycin-loaders security update Rocky Linux Security Advisories · Oct 22, 2026
- RLSA-2026:86841 Important: librsvg2 security update Rocky Linux Security Advisories · Oct 22, 2026
- SUSE-SU-2026:24202-1 Security update for librsvg SUSE / openSUSE Security Updates · Oct 21, 2026
- openSUSE-SU-2026:22051-1 Security update for librsvg SUSE / openSUSE Security Updates · Oct 19, 2026
- SUSE-SU-2026:24117-1 Security update for librsvg SUSE / openSUSE Security Updates · Oct 13, 2026
- USN-8891-1 librsvg vulnerability Ubuntu Security Notices (USN) · Oct 8, 2026
References
- RHSA-2026:86331 vendor-advisory
- RHSA-2026:86841 vendor-advisory
- RHSA-2026:86842 vendor-advisory
- RHSA-2026:86921 vendor-advisory
- RHSA-2026:92212 vendor-advisory
- RHSA-2026:92213 vendor-advisory
- RHSA-2026:92214 vendor-advisory
- RHSA-2026:92218 vendor-advisory
- RHSA-2026:92336 vendor-advisory
- RHSA-2026:92353 vendor-advisory
- RHSA-2026:92382 vendor-advisory
- RHSA-2026:92573 vendor-advisory
- RHSA-2026:92579 vendor-advisory
- RHSA-2026:94452 vendor-advisory
- RHSA-2026:94453 vendor-advisory
- RHSA-2026:94454 vendor-advisory
- RHSA-2026:94455 vendor-advisory
- RHSA-2026:94457 vendor-advisory
- RHSA-2026:94458 vendor-advisory
- RHSA-2026:94459 vendor-advisory
- RHSA-2026:94460 vendor-advisory
- RHSA-2026:94461 vendor-advisory
- RHSA-2026:94462 vendor-advisory
- RHSA-2026:94463 vendor-advisory
- RHSA-2026:94464 vendor-advisory
- RHSA-2026:94465 vendor-advisory
- RHSA-2026:94466 vendor-advisory
- RHSA-2026:94467 vendor-advisory
- RHSA-2026:94468 vendor-advisory
- RHSA-2026:94469 vendor-advisory
- RHSA-2026:94470 vendor-advisory
- RHSA-2026:94471 vendor-advisory
- RHSA-2026:94472 vendor-advisory
- RHSA-2026:94473 vendor-advisory
- RHSA-2026:94474 vendor-advisory
- RHSA-2026:94476 vendor-advisory
- RHSA-2026:98482 vendor-advisory
- RHSA-2026:98584 vendor-advisory
- RHSA-2026:98591 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-96889 vdb-entry
- RHBZ#2539279 issue-tracking
- https://crates.io/crates/librsvg
- https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241
- https://rustsec.org/advisories/RUSTSEC-2026-0305.html