Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-96889: Use-after-free in librsvg nested XInclude entity handling

Published Sep 23, 2026 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days60 mentions · peak 17 in a dayToday
CVSS7.8High · v3.1
EPSS0.56%47th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-96889CWE-416 · Use After Free

CVE-2026-96889, also tracked as RUSTSEC-2026-0305, is a use-after-free vulnerability in librsvg's processing of SVG documents containing nested XInclude operations and duplicate XML entity declarations. During recursive parsing, an entity replacement in the shared XmlState entity map frees an xmlEntity object that the outer libxml2 parser still uses. Subsequent access to the freed object causes memory corruption, potentially resulting in application crashes or arbitrary code execution. Applications using vulnerable bundled librsvg dependencies, including affected sharp installations, are also exposed.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Processing a crafted SVG can crash the consuming application, causing denial of service, and may permit arbitrary code execution with the privileges of the consuming process. Potential consequences include loss of confidentiality, integrity, and availability within that process's security context. Code execution is not established for every deployment; sharp advisories identify runtime-dependent exploitation conditions on glibc-based Linux. The assigned CVSS v3.0 base score is 7.8.

Mitigation

If you can’t patch tonight, do this now.

Until patched, prevent untrusted SVG documents from reaching vulnerable librsvg decoders. In sharp applications, disable SVG decoding with sharp.block({ operation: ["VipsForeignLoadSvg"] });. The sharp advisory also recommends a Node.js executable compiled as a Position Independent Executable (PIE) to mitigate the described code-execution path; it notes that most Linux package-manager builds provide PIE hardening, whereas official Node.js binaries do not. PIE hardening does not repair the underlying use-after-free or establish protection against denial of service.

Remediation

Patch, then assume compromise.

Upgrade librsvg to the fixed release for the applicable branch: 2.57.5, 2.60.3, 2.61.5, 2.62.4, or 2.63.2, or a later fixed release. The fix prevents premature freeing of XML entities still referenced by libxml2. For sharp-provided prebuilt binaries, upgrade sharp to 0.35.5 or later; 0.35.5 bundles librsvg 2.63.2. For sharp using a globally installed librsvg, upgrade that dependency to 2.63.2 or later. Distribution backports include Debian trixie 2.60.0+dfsg-1+deb13u1, Ubuntu 26.04 LTS 2.61.3+dfsg-3ubuntu0.1, Ubuntu 24.04 LTS 2.58.0+dfsg-1ubuntu0.1, and RHEL 9 2.50.7-3.el9_9.1. Apply the applicable vendor security updates to other affected packages, including glycin-loaders where it incorporates vulnerable librsvg code.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 7 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
VectorFreedThis three-file repository contains documentation and one standalone Python 3 proof-of-concept generator, pocs/poc-uaf.py. The generator constructs an outer SVG with a DTD entity that expands to an XInclude element and embeds an inner SVG as a data URL. The inner SVG redeclares the same entity name, targeting a librsvg/libxml2 lifetime error described as CVE-2026-96889. It can emit raw SVG, an SVG data URL, or an XML text-injection fragment, then optionally Base64-, JSON-string-, or URL-encode the result for delivery through differing application inputs. The repository is a trigger/crash-validation PoC rather than an RCE exploit: it contains no networking client, listener, command payload, heap-grooming logic, or target-specific request automation. README material describes a possible downstream Next.js/Satori/Sharp/libvips route and CVE-2026-94545, but that route is not implemented in code.rafabd1 · Disclosed Sep 21, 2026 · python · markdown · file · webPoCcve-2026-96889-payloadThe supplied repository contains one reported 25,400-byte file, rce.svg, with no accompanying source code, launcher, documentation, or framework metadata. The displayed file content is truncated, limiting verification. The document begins with an XML comment containing 'ftypavif', followed by an SVG that includes a percent-encoded SVG/XML document through XInclude. That embedded document defines an 'active' entity containing extensive whitespace, a second base64-backed XInclude, and a long SVG path. Repeated path commands, degenerate arcs, and extremely small or large floating-point coordinates suggest a deliberately constructed parser/rendering memory-corruption input rather than an ordinary image. The exact vulnerability, affected product, CVE, and claimed RCE outcome are not established by the available evidence. No external callback, IP address, command-and-control domain, registry key, or filesystem access payload is visible. The W3C URLs are XML namespace identifiers, not demonstrated outbound requests. The outer data URI is incomplete in the supplied excerpt and therefore cannot be reproduced in full. Repository URL, revision, and archive size were not supplied; the zero archive-size value denotes unavailable metadata, not an empty repository.anishadhikari02 · Disclosed Nov 9, 2026 · xml · filePoC
FAQ

Frequently asked questions

Is CVE-2026-96889 exploited in the wild?
As of Nov 17, 2026, Mallory has no reports of CVE-2026-96889 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-96889?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-96889, the earliest disclosed Sep 21, 2026.
Is there a patch for CVE-2026-96889?
Upgrade librsvg to the fixed release for the applicable branch: 2.57.5, 2.60.3, 2.61.5, 2.62.4, or 2.63.2, or a later fixed release. The fix prevents premature freeing of XML entities still referenced by libxml2.
How severe is CVE-2026-96889?
CVE-2026-96889 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.56% (47th percentile) as of Nov 17, 2026.
Activity feed

Recent activity

87 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable nessus pluginsNews · Nov 14, 2026Rocky Linux 10.2 [CIQ] Security Update: glycin-loaders / glyci... | Tenable®A use-after-free vulnerability in librsvg triggered when XML includes contain duplicated entities. The advisory identifies affected packages on Rocky Linux 10.2. The supplied CVSS v3 vector indicates local attack access, no required privileges, user interaction, and high potential impacts to confidentiality, integrity, and availability. Nessus identifies affected installations using self-reported version information rather than testing the vulnerability.Read more ↗tenable nessus pluginsNews · Nov 14, 2026Rocky Linux 10.3 [CIQ] Security Update: librsvg2 / librsvg2-de... | Tenable®A use-after-free vulnerability in librsvg triggered when XML includes contain duplicated entities. The advisory identifies affected packages on Rocky Linux 10.3 and provides security updates. The listed CVSS v3 vector indicates local attack access, no privileges required, user interaction required, and high confidentiality, integrity, and availability impacts. Nessus identifies exposure using self-reported package versions rather than testing the vulnerability.Read more ↗tenable nessus pluginsNews · Nov 13, 2026RockyLinux 10 : librsvg2 (RLSA-2026:98591) | Tenable®A vulnerability covered by Rocky Linux advisory RLSA-2026-98591 affecting librsvg2-related packages. The supplied CVSS v3 vector describes local exploitation requiring user interaction but no privileges, with high confidentiality, integrity, and availability impacts. The content does not identify the underlying flaw. A patch publication date of November 13, 2026 is listed.Read more ↗tenable nessus pluginsNews · Nov 13, 2026RockyLinux 10 : glycin-loaders (RLSA-2026:98584) | Tenable®A vulnerability affecting glycin-loaders packages on Rocky Linux 10. The supplied CVSS v3 vector indicates local exploitation requiring user interaction but no privileges, with high confidentiality, integrity, and availability impacts. The content does not describe the underlying flaw. It lists a patch publication date of November 13, 2026.Read more ↗
+64 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity16Community discussion across Reddit, Mastodon, and other social sources.