
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-96889 is a use-after-free (UAF) vulnerability in librsvg, the GNOME SVG rendering library, triggered when processing SVG documents containing nested XML inclusions (XIncludes) with duplicate entity declarations. The library incorrectly frees an XML entity still in use by the parser, potentially enabling denial of service or arbitrary code execution. Affected products include librsvg2 and glycin-loaders (Red Hat), as well as azl3_librsvg2 2.58.1-8 (Microsoft Azure Linux). The vulnerability was disclosed on September 23, 2026, and has a CVSS v3.1 base score of 7.8 (High) (Red Hat CVE, Red Hat Bugzilla).
The root cause (CWE-416: Use After Free) lies in how librsvg uses libxml2 to parse XML. When a nested XInclude is processed, a recursive parse can declare an XML entity with the same name as one already registered in the shared XmlState entity map. The entity_insert() function replaces the first entry and calls xmlFreeNode() via its Drop implementation, but the outer xmlCtxtParseEntity() continues referencing the now-freed 144-byte xmlEntity struct. The fix, committed upstream as commit 8a1b0cd319e9af2d1e9af2d1e9cf878081dd77f227a0504, prevents librsvg from freeing xmlEntity pointers still held by libxml2. Exploitation requires user interaction — a victim must open a maliciously crafted SVG file — and no network-level access is needed (Red Hat Bugzilla, Red Hat CVE).
Successful exploitation can result in a crash (denial of service) of any application using librsvg to render SVG content, or potentially arbitrary code execution with the privileges of the affected application. All three security dimensions are impacted: confidentiality (memory read from freed regions), integrity (memory corruption enabling write-what-where primitives), and availability (process crash). Applications such as image viewers, document renderers, and web browsers that rely on librsvg for SVG processing are at risk, and exploitation could serve as an initial foothold for further lateral movement if the affected process runs with elevated privileges (Red Hat CVE).
A public proof-of-concept (PoC) exploit is available on GitHub at VectorFreed, which generates malicious SVG files to trigger the UAF condition. The researcher who reported the vulnerability (Rafael B. Dias) has stated that command execution has been achieved in multiple downstream application paths, though a universal end-to-end RCE PoC is not yet public. There is no confirmed evidence of in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.00129 (low probability of exploitation in the near term), and NVD SSVC classifies exploitation status as 'PoC' (Red Hat Bugzilla, Feedly).
build_svg()) to create a minimal inner SVG document with a DOCTYPE declaring an XML entity (e.g., <!DOCTYPE svg [<!ENTITY active "R">]><svg.../>).data:image/svg+xml;base64, URL to create a self-contained reference (inner_url).active) but maps it to an XInclude element pointing to the inner document: <!ENTITY active "<xi:include ... href="{inner_url}" parse="xml"/>">; reference it with &active;.--carrier flag; apply optional encoding (base64, JSON, URL) via --encode.uaf.svg to disk and deliver it to the victim via email attachment, web download, or file share.xmlEntity struct..svg files in download directories, temp folders, or email attachment staging areas with DOCTYPE declarations containing both <!ENTITY> definitions and <xi:include> elements; files with base64-encoded data:image/svg+xml;base64, URLs embedded in SVG entity declarations.eog, inkscape, gdk-pixbuf-thumbnailer, glycin); unexpected child processes spawned from image viewer or document renderer processes.journalctl) showing SIGSEGV or SIGABRT from SVG-processing applications; Nessus detection ID 349587 or 350703 flagging vulnerable librsvg2 versions.The upstream fix is available in librsvg version 2.63.1, which prevents librsvg from freeing xmlEntity pointers still held by libxml2. Red Hat has noted that no practical configuration-based mitigation is available for affected RHEL packages. Recommended actions include: (1) upgrade librsvg2 and glycin-loaders to patched versions as soon as vendor updates are released; (2) restrict SVG file processing to trusted sources only; (3) run SVG-processing applications in sandboxed environments with minimal privileges (e.g., using Flatpak or containers); (4) avoid opening SVG files from untrusted sources until patches are applied (Red Hat CVE, Red Hat Bugzilla).
Red Hat Product Security classified this as an "Important" flaw and acknowledged the reporter, Rafael B. Dias, in their advisory. A community member on the Red Hat Bugzilla tracker requested re-evaluation of remediation priority following the public PoC release, noting that the researcher claimed command execution in multiple downstream application paths. The vulnerability was picked up by Linux security news outlets including LinuxSecurity.com (Fedora advisory coverage) and pro-linux.de, as well as social media aggregators such as RedPacketSecurity on Mastodon. A technical blog post on dev.to discussed SVG processing safety in the context of this vulnerability (Red Hat CVE, Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."