Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2026-96889 EUVD-2026-85608GHSA-cpvr-w4j5-2mpgRUSTSEC-2026-0305

Librsvg: use-after-free when xml includes have duplicated entities

Published Sep 23, 2026 · Updated Nov 11, 2026 · Assigned by redhat

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 librsvg 2.63.2+dfsg-1 —
Debian 13 librsvg 2.60.0+dfsg-1+deb13u1 —
Debian 12 librsvg No fix yet —
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
SLE Micro 6.1 librsvg 2.56.6-slfo.1.1_1.1 SUSE-SU-2026:24557-1
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

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.

  • 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.

  • 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

EcosystemPackageAffectedFixedRecord
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

References