cve.bz

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

7.8 highEPSS 0.6%Fix available

High (7.8) in red hat. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in librsvg 2.57.5, 2.60.3, 2.61.5.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-09-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • librsvg (crates.io): fixed in 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:1.0.1-1.el10_2.2
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:2.57.1-9.el10_2.10
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:1.0.1-1.el10_3.2
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:2.57.1-9.el10_3.10
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:2.57.1-9.el10_0.1
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:1.0.1-1.el10_0.1
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 0:2.40.20-1.el7_9.1
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:2.42.7-6.el8_10
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-96889 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-96889?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-96889?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-96889 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:red hat enterprise linux 10
  • red hat:red hat enterprise linux 10.0 extended update support
  • red hat:red hat enterprise linux 6
  • 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 enterprise linux ai (rhel ai) 3
  • red hat:red hat openshift ai (rhoai)
  • red hat:red hat openshift ai 3.0
  • red hat:red hat openshift ai 3.4
  • red hat:red hat openshift ai 3.5

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:1.0.1-1.el10_2.2
Red Hat Enterprise Linux 100:2.57.1-9.el10_2.10
Red Hat Enterprise Linux 100:1.0.1-1.el10_3.2
Red Hat Enterprise Linux 100:2.57.1-9.el10_3.10
Red Hat Enterprise Linux 10.0 Extended Update Support0:2.57.1-9.el10_0.1
Red Hat Enterprise Linux 10.0 Extended Update Support0:1.0.1-1.el10_0.1
Red Hat Enterprise Linux 7 Extended Lifecycle Support0:2.40.20-1.el7_9.1
Red Hat Enterprise Linux 80:2.42.7-6.el8_10
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.42.7-4.el8_4.1
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:2.42.7-4.el8_4.1
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.42.7-4.el8_6.1
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:2.42.7-4.el8_6.1
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:2.42.7-4.el8_8.1
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:2.42.7-4.el8_8.1
Red Hat Enterprise Linux 90:2.50.7-3.el9_8.1
Red Hat Enterprise Linux 90:2.50.7-3.el9_9.1
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:2.50.7-1.el9_2.2
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:2.50.7-3.el9_4.1
Red Hat Enterprise Linux 9.6 Extended Update Support0:2.50.7-3.el9_6.1
Red Hat OpenShift AI 3.01793329706
Red Hat OpenShift AI 3.01793329709
Red Hat OpenShift AI 3.01793327611
Red Hat OpenShift AI 3.01793329305
Red Hat OpenShift AI 3.01793328358
Red Hat OpenShift AI 3.41793330461
Red Hat OpenShift AI 3.41793327311
Red Hat OpenShift AI 3.41793329624
Red Hat OpenShift AI 3.41793326217
Red Hat OpenShift AI 3.41793327499
Red Hat OpenShift AI 3.41793329011
Red Hat OpenShift AI 3.41793326837
Red Hat OpenShift AI 3.41793326796
Red Hat OpenShift AI 3.41793330096
Red Hat OpenShift AI 3.51793326392
Red Hat OpenShift AI 3.51793328643
Red Hat OpenShift AI 3.51793327512
Red Hat OpenShift AI 3.51793330940
Red Hat OpenShift AI 3.51793329296
Red Hat OpenShift AI 3.51793329271
Red Hat OpenShift AI 3.51793326530
Red Hat OpenShift AI 3.51793330882
Red Hat OpenShift AI 3.51793327660

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cpvr-w4j5-2mpgcrates.iolibrsvg<2.57.52.57.5
GHSA-cpvr-w4j5-2mpgcrates.iolibrsvg>=2.60.0-beta.0 <2.60.32.60.3
GHSA-cpvr-w4j5-2mpgcrates.iolibrsvg>=2.61.0 <2.61.52.61.5
GHSA-cpvr-w4j5-2mpgcrates.iolibrsvg>=2.62.0-beta.0 <2.62.42.62.4
GHSA-cpvr-w4j5-2mpgcrates.iolibrsvg>=2.63.0-beta.0 <2.63.22.63.2
RUSTSEC-2026-0305crates.iolibrsvg>=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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12librsvgno fix listedDEBIAN-CVE-2026-96889
Debian13librsvg2.60.0+dfsg-1+deb13u1DEBIAN-CVE-2026-96889
Debian14librsvg2.63.2+dfsg-1DEBIAN-CVE-2026-96889
Ubuntu24.04:LTSlibrsvg2.58.0+dfsg-1ubuntu0.1UBUNTU-CVE-2026-96889 USN-8891-1
Ubuntu26.04:LTSlibrsvg2.61.3+dfsg-3ubuntu0.1UBUNTU-CVE-2026-96889 USN-8891-1
Red Hatenterprise_linux:8::appstreamlibrsvg2, librsvg2-devel, librsvg2-tools and 3 more0:2.42.7-6.el8_10RHSA-2026:86842
Red Hatenterprise_linux:9::appstreamlibrsvg2, librsvg2-devel, librsvg2-tools and 3 more0:2.50.7-3.el9_8.1RHSA-2026:86921
Red Hatenterprise_linux:9::appstreamlibrsvg2, librsvg2-devel, librsvg2-tools and 3 more0:2.50.7-3.el9_9.1RHSA-2026:98482
Red Hatenterprise_linux:10.2glycin-loaders, glycin-loaders-debuginfo, glycin-loaders-debugsource0:1.0.1-1.el10_2.2RHSA-2026:86331
Red Hatenterprise_linux:10.2librsvg2, librsvg2-devel, librsvg2-tools and 5 more0:2.57.1-9.el10_2.10RHSA-2026:86841
Red Hatenterprise_linux:10.3glycin-loaders, glycin-loaders-debuginfo, glycin-loaders-debugsource0:1.0.1-1.el10_3.2RHSA-2026:98584
Red Hatenterprise_linux:10.3librsvg2, librsvg2-devel, librsvg2-tools and 5 more0:2.57.1-9.el10_3.10RHSA-2026:98591
Red Hatenterprise_linux_eus:10.0glycin-loaders, glycin-loaders-debuginfo, glycin-loaders-debugsource0:1.0.1-1.el10_0.1RHSA-2026:92573
Red Hatenterprise_linux_eus:10.0librsvg2, librsvg2-devel, librsvg2-tools and 5 more0:2.57.1-9.el10_0.1RHSA-2026:92214
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibrsvg2, librsvg2-devel, librsvg2-tools and 3 more0:2.42.7-4.el8_4.1RHSA-2026:92353
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamlibrsvg2, librsvg2-devel, librsvg2-tools and 3 more0:2.42.7-4.el8_6.1RHSA-2026:92336
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamlibrsvg2, librsvg2-devel, librsvg2-tools and 3 more0:2.42.7-4.el8_8.1RHSA-2026:92382
4 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0librsvg2.60.3-160000.1.1SUSE-SU-2026:24202-1
SUSELinux Enterprise Server 16.1, Linux Enterprise Server for SAP applications 16.1librsvg2.60.3-160100.1.1SUSE-SU-2026:24546-1
SUSELinux Enterprise Server for NVIDIA 16.1librsvg2.60.3-160100.1.1SUSE-SU-2026:24694-1
SUSELinux Micro 6.1librsvg2.56.6-slfo.1.1_1.1SUSE-SU-2026:24557-1
SUSELinux Micro 6.2librsvg2.60.3-160000.1.1SUSE-SU-2026:24117-1
openSUSELeap 16.0librsvg2.60.3-160000.1.1openSUSE-SU-2026:22051-1
openSUSELeap 16.1librsvg2.60.3-160100.1.1openSUSE-SU-2026:22288-1
openSUSETumbleweedlibrsvg2.63.4-1.1openSUSE-SU-2026:12364-1
AlmaLinux8librsvg2, librsvg2-devel, librsvg2-tools2.42.7-6.el8_10ALSA-2026:86842
AlmaLinux9librsvg2, librsvg2-devel, librsvg2-tools2.50.7-3.el9_8.1ALSA-2026:86921
AlmaLinux9librsvg2, librsvg2-devel, librsvg2-tools2.50.7-3.el9_9.1ALSA-2026:98482
AlmaLinux10glycin-loaders1.0.1-1.el10_2.2ALSA-2026:86331
AlmaLinux10glycin-loaders1.0.1-1.el10_3.2ALSA-2026:98584
AlmaLinux10librsvg2, librsvg2-devel, librsvg2-tools and 1 more2.57.1-9.el10_2.10ALSA-2026:86841
AlmaLinux10librsvg2, librsvg2-devel, librsvg2-tools and 1 more2.57.1-9.el10_3.10ALSA-2026:98591
Rocky Linux8librsvg20:2.42.7-6.el8_10RLSA-2026:86842
Rocky Linux9librsvg20:2.50.7-3.el9_8.1RLSA-2026:86921 RLSA-2026:98482
Rocky Linux10glycin-loaders0:1.0.1-1.el10_2.2RLSA-2026:86331
Rocky Linux10glycin-loaders, glycin-loaders-debuginfo, glycin-loaders-debugsource0:1.0.1-1.el10_2.2RLSA-2026:98584
Rocky Linux10librsvg20:2.57.1-9.el10_2.10RLSA-2026:86841
Rocky Linux10librsvg2, librsvg2-devel, librsvg2-tools and 5 more0:2.57.1-9.el10_2.10RLSA-2026:98591
Azure Linux3librsvg22.58.1-9AZL-104931
Alpaquitastreamlibrsvg2.62.4-r0BELL-CVE-2026-96889

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important use-after-free flaw in librsvg, which could lead to arbitrary code execution or denial of service. The vulnerability occurs when processing a specially crafted SVG document containing nested Xincludes with duplicated XML entity declarations. Exploitation requires user interaction, such as opening a malicious SVG file. The issue has been fixed upstream in version 2.63.1.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10glycin-loaders-0:1.0.1-1.el10_2.2Fixed 2026-10-21RHSA-2026:86331
Red Hat Enterprise Linux 10librsvg2-0:2.57.1-9.el10_2.10Fixed 2026-10-21RHSA-2026:86841
Red Hat Enterprise Linux 10librsvg2-0:2.57.1-9.el10_3.10Fixed 2026-11-11RHSA-2026:98591
Red Hat Enterprise Linux 10.0 Extended Update Supportlibrsvg2-0:2.57.1-9.el10_0.1Fixed 2026-10-29RHSA-2026:92214
Red Hat Enterprise Linux 10.0 Extended Update Supportglycin-loaders-0:1.0.1-1.el10_0.1Fixed 2026-10-29RHSA-2026:92573
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibrsvg2-0:2.40.20-1.el7_9.1Fixed 2026-10-29RHSA-2026:92579
Red Hat Enterprise Linux 8librsvg2-0:2.42.7-6.el8_10Fixed 2026-10-21RHSA-2026:86842
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibrsvg2-0:2.42.7-4.el8_4.1Fixed 2026-10-29RHSA-2026:92353
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibrsvg2-0:2.42.7-4.el8_4.1Fixed 2026-10-29RHSA-2026:92353
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibrsvg2-0:2.42.7-4.el8_6.1Fixed 2026-10-29RHSA-2026:92336
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onlibrsvg2-0:2.42.7-4.el8_6.1Fixed 2026-10-29RHSA-2026:92336
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibrsvg2-0:2.42.7-4.el8_8.1Fixed 2026-10-29RHSA-2026:92382
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibrsvg2-0:2.42.7-4.el8_8.1Fixed 2026-10-29RHSA-2026:92382
Red Hat Enterprise Linux 9librsvg2-0:2.50.7-3.el9_8.1Fixed 2026-10-21RHSA-2026:86921
Red Hat Enterprise Linux 6librsvg2Out of support scope
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gaudi-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-feature-server-rhel9Affected
27 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-96889.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • rafabd1/VectorFreed Harbor Check: matches CVE 22 stars, created
    This repository documents the VectorFreed RCE chain and includes a PoC for CVE-2026-96889.
  • lion9453/CVE-2026-96889-nextjs-rce Harbor Check: matches CVE 2 stars, JavaScript, created
    Lab PoC for CVE-2026-96889: Next.js Image Optimization SVG typed as AVIF reaches librsvg UAF (RUSTSEC-2026-0305). Unauthenticated RCE on gl…
  • anishadhikari02/cve-2026-96889-payload 0 stars, created

References

Check your stackJSON