Threat reportVulnerabilityTL-2026-4002
Red Hat RHSA-2026:86331 glycin-loaders use-after-free (CVE-2026-96889 / RUSTSEC-2026-0305, librsvg)
CVE-2026-96889 is a use-after-free in librsvg triggered by an SVG containing nested XInclude elements that redeclare an entity already in use. Red Hat shipped an Important-rated glycin-loaders update for RHEL 10 (RHSA-2026:86331); a public PoC exists, but no in-the-wild exploitation is confirmed. First disclosed .
Key facts
| Identifiers | TL-2026-4002, CVE-2026-96889 |
|---|---|
| Also known as | RUSTSEC-2026-0305, RHSA-2026:86331, VectorFreed |
| Severity | HIGH |
| CVSS | 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) |
| First disclosed | |
| Exploitation status | Public proof-of-concept exploit for a linked CVE |
| EPSS | CVE-2026-96889: 0.5% (47.0th percentile) |
| Affected products | Red Hat glycin-loaders (RHEL 10, 10.2 EUS, 10.2 ELS; x86_64, ppc64le); GNOME librsvg; Debian librsvg; Microsoft Azure Linux librsvg2 |
| Weaknesses (CWE) | CWE-416 |
| MITRE ATT&CK techniques | T1203 Exploitation for Client Execution, T1204.002 Malicious File, T1566.001 Spearphishing Attachment |
| Motivation | UNKNOWN |
| Target sectors | technology, government administration, enterprise |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 10 cited sources |
Detection coverage
As of 2026-10-21, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4002 across Splunk SPL, Microsoft KQL and Sigma, covering 10 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Shell or Interpreter Spawned by SVG Renderer - Post-Exploitation of CVE-2026-96889
Detects a shell or scripting interpreter launched as a child of rsvg-convert, the glycin SVG loaders or gdk-pixbuf-thumbnailer. SVG renderers never legitimately spawn shells; a hit indicates code execution from a memory-corruption bug such as CVE-2026-96889. Public sources describe code execution as potential only and no working exploit is demonstrated, so this is high-fidelity but expected to be rare.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1203, T1059.004
- Data sources: sysmon_for_linux, linux_process_creation, microsoft_defender_for_endpoint
- Severity: high
- Confidence: high
Splunk SPL
index=sysmon sourcetype="sysmon:linux" EventCode=1 earliest=-24h
(ParentImage="*/rsvg-convert" OR ParentImage="*/glycin-svg" OR ParentImage="*/glycin-image-rs" OR ParentImage="*/glycin-loaders/*" OR ParentImage="*/gdk-pixbuf-thumbnailer")
(Image="*/sh" OR Image="*/bash" OR Image="*/dash" OR Image="*/zsh" OR Image="*/python3" OR Image="*/perl")
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as child_cmdline values(Image) as child_image by host User ParentImage ParentCommandLine
| convert ctime(first_seen) ctime(last_seen)Microsoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("rsvg-convert", "glycin-svg", "glycin-image-rs", "gdk-pixbuf-thumbnailer")
or InitiatingProcessFolderPath has "/glycin-loaders/"
| where FileName in~ ("sh", "bash", "dash", "zsh", "python3", "python", "perl")
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessCommandLine, FileName, ProcessCommandLineSigma
title: Shell or Interpreter Spawned by SVG Renderer (CVE-2026-96889)
id: b2e8d4c7-91a3-4f56-8c0e-3d7a6b5f2e02
status: experimental
description: Detects shells or scripting interpreters launched by rsvg-convert, glycin SVG loaders or gdk-pixbuf-thumbnailer, indicating code execution after exploitation of a librsvg memory-corruption flaw.
references:
- https://rustsec.org/advisories/RUSTSEC-2026-0305.html
- https://access.redhat.com/errata/RHSA-2026:86331
- https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241
author: Threadlinqs Team
date: 2026-10-21
tags:
- attack.execution
- attack.t1203
- attack.t1059.004
- cve.2026.96889
logsource:
category: process_creation
product: linux
detection:
selection_parent_name:
ParentImage|endswith:
- '/rsvg-convert'
- '/glycin-svg'
- '/glycin-image-rs'
- '/gdk-pixbuf-thumbnailer'
selection_parent_path:
ParentImage|contains: '/glycin-loaders/'
selection_child:
Image|endswith:
- '/sh'
- '/bash'
- '/dash'
- '/zsh'
- '/python3'
- '/perl'
condition: (selection_parent_name or selection_parent_path) and selection_child
falsepositives:
- Custom wrapper scripts that invoke rsvg-convert through a shell and are reported with the shell as parent (rare)
- Build systems rendering SVG assets
level: high
Known false positives:
- Wrapper scripts or build pipelines where a renderer is a parent of a helper shell
- Image-processing services that exec helper scripts
Tuning notes: Allowlist known build or conversion servers by host and ParentCommandLine. Do not exclude by child image alone; extend the parent list with any other binaries that embed librsvg in your estate.
- SVG or PoC Archive Attachment Delivered by Email - CVE-2026-96889 Phishing Delivery · unlock with TL Creds
- Download or Network Tool Spawned by SVG Renderer - Stage-Two After CVE-2026-96889 · unlock with TL Creds
- SVG File Written to User Directory by Browser, Mail Client or Archive Tool · unlock with TL Creds
- VectorFreed / [indicator] PoC Artifacts for CVE-2026-96889 on Endpoint · unlock with TL Creds
- librsvg Crash Report with xmlCtxtParseEntity / xmlFreeNode Stack Markers · unlock with TL Creds
- Web Proxy Access to VectorFreed CVE-2026-96889 PoC Repository · unlock with TL Creds
- librsvg / glycin SVG Loader Crash - CVE-2026-96889 Use-After-Free Trigger · unlock with TL Creds
- SVG Downloaded from Rare Host by Linux Client - Malicious SVG Delivery Hunt · unlock with TL Creds
Indicators of compromise
As of 2026-10-21, Threadlinqs Intelligence tracks 10 indicators of compromise for TL-2026-4002.
Sample indicators (3 of 10)
- URL:
hxxps://github[.]com/rafabd1/VectorFreed - File hash:
8a1b0cd319e9af2d1e9cf878081dd77f227a0504 - URL:
hxxps://gitlab[.]gnome[.]org/GNOME/librsvg/-/work_items/1241
Defanged, TLP:CLEAR. Full set of 10 indicators: unlock with TL Creds.
Technical analysis
CVE-2026-96889 (RUSTSEC-2026-0305) is a use-after-free (CWE-416) in librsvg, the GNOME SVG rendering library written in Rust that relies on libxml2 for XML parsing. While libxml2 is expanding an internal entity, a recursive XInclude can parse a second document that declares an entity with the same name. Both parses share the same XmlState entity map on the librsvg side. entity_insert() replaces the first entry, and the replaced entry's Drop implementation calls xmlFreeNode(), freeing a 144-byte xmlEntity structure. The outer xmlCtxtParseEntity() then keeps using the freed object.
The issue was reported upstream by Rafael B. Dias in GNOME librsvg work item 1241. The reproducer (repro.svg) uses a data URI inside an xi:include that redefines an active XML entity. The upstream fix is commit 8a1b0cd319e9af2d1e9cf878081dd77f227a0504, which stops librsvg from freeing xmlEntity pointers that libxml2 still references. RustSec lists patched releases 2.63.2 and later, 2.62.4, 2.61.5, 2.60.3 and 2.57.5; other trackers cite 2.63.1 as the first upstream fix. NVD and Red Hat rate the issue CVSS 7.8 (AV:L/AC:L/PR:N/UI:R), so the victim must open or render a crafted SVG. Public sources describe the impact as denial of service or potential arbitrary code execution. No source demonstrates a working code-execution exploit.
Red Hat addressed the flaw for glycin-loaders (the image-loader component that embeds librsvg) on RHEL 10 in RHSA-2026:86331, issued 2026-10-20, rated Important. It affects RHEL 10 (x86_64, ppc64le) and the 10.2 EUS and ELS variants. Red Hat also tracks librsvg2 in Bugzilla 2539279, and Wiz lists RHEL 8, 9 and 10, Azure Linux (azl3_librsvg2 2.58.1-8) and Debian 12 as affected. Wiz reports a public PoC repository named VectorFreed that builds malicious SVGs (nested XInclude, base64 data URL, DOCTYPE entity declarations) for delivery by email, download or file share. Wiz reports no confirmed in-the-wild exploitation, the CVE is not in CISA KEV, and its EPSS is 0.00129. This record is based on vendor and tracker data only; the AUSCERT bulletin is member-gated, and no adversary, campaign or network infrastructure is associated with the flaw.
MITRE ATT&CK techniques by tactic:
Execution
T1203 Exploitation for Client Execution; T1204.002 Malicious File
Initial Access
Remediation
Patches
- Red Hat RHSA-2026:86331: glycin-loaders-1.0.1-1.el10_2.2
- Upstream librsvg: 2.63.2 and later, 2.62.4, 2.61.5, 2.60.3, 2.57.5 (RustSec); upstream fix first shipped in 2.63.1 per other trackers
- Debian: trixie librsvg 2.60.0+dfsg-1+deb13u1, forky 2.63.2+dfsg-1, sid 2.63.3+dfsg-1
Immediate actions
- Apply RHSA-2026:86331 (glycin-loaders-1.0.1-1.el10_2.2) on RHEL 10 / 10.2 EUS / 10.2 ELS hosts
- Update librsvg2 and any other librsvg-linked packages from vendor errata (Red Hat, Debian, Azure Linux)
- Restart desktop sessions and services that load librsvg or glycin loaders after patching
Workarounds
- Avoid opening or previewing untrusted SVG files with librsvg-based viewers and thumbnailers until patched
- Block or quarantine SVG attachments containing xi:include elements at the mail gateway
Longer-term hardening
- Inventory applications and bundled crates that link librsvg (including statically linked Rust builds)
- Track RUSTSEC-2026-0305 in Rust dependency auditing (cargo-audit) and rebuild affected binaries on librsvg 2.63.2 or later
- Treat SVG files from email, downloads and shares as untrusted input and render them in sandboxed processes
Affected and fixed versions
- Red Hat — glycin-loaders (RHEL 10, 10.2 EUS, 10.2 ELS; x86_64, ppc64le)
Vulnerable versions: glycin-loaders builds before 1.0.1-1.el10_2.2
Fixed in: glycin-loaders-1.0.1-1.el10_2.2 - GNOME — librsvg
Vulnerable versions: all versions before the patched releases
Fixed in: 2.63.2 and later; 2.62.4; 2.61.5; 2.60.3; 2.57.5 - Debian — librsvg
Vulnerable versions: bookworm 2.54.7+dfsg-1~deb12u1; trixie 2.60.0+dfsg-1
Fixed in: trixie 2.60.0+dfsg-1+deb13u1; forky 2.63.2+dfsg-1; sid 2.63.3+dfsg-1 - Microsoft — Azure Linux librsvg2
Vulnerable versions: azl3_librsvg2 2.58.1-8
Timeline
- Debian security tracker lists fixes: trixie 2.60.0+dfsg-1+deb13u1, forky 2.63.2+dfsg-1, sid 2.63.3+dfsg-1; bookworm listed as vulnerable (date is the CVE publication date, fix dates not stated)
- Red Hat opened Bugzilla 2539279 for CVE-2026-96889 and Fedora tracker bugs for librsvg2, mingw-librsvg2 and rust-librsvg
- CVSS v3.1 base score 7.8 (AV:L/AC:L/PR:N/UI:R) and CWE-416 recorded for CVE-2026-96889
- Upstream fix commit locked-ioc-2 stops librsvg freeing xmlEntity pointers still used by libxml2; first shipped in 2.63.1 per trackers, with backports to 2.62.4, 2.61.5, 2.60.3 and 2.57.5
- RUSTSEC-2026-0305 and CVE-2026-96889 published; upstream librsvg issue 1241 (reported by Rafael B. Dias) documents the nested XInclude duplicate-entity use-after-free
- Red Hat issued RHSA-2026:86331 (Important) fixing glycin-loaders on RHEL 10 and 10.2 EUS/ELS with glycin-loaders-1.0.1-1.el10_2.2
- AUSCERT published bulletin ESB-2026.12970 for the glycin-loaders update
Sources cited
- Red Hat RHSA-2026:86331 glycin-loaders security update access.redhat.com · Advisory · 2026-10-20
- AUSCERT ESB-2026.12970 glycin-loaders portal.auscert.org.au · Advisory · 2026-10-21
- RUSTSEC-2026-0305: Use-after-free when XML includes have duplicated entities rustsec.org · Advisory · 2026-09-23
- NVD CVE-2026-96889 NVD (NIST) · Advisory · 2026-09-23
- Red Hat CVE-2026-96889 access.redhat.com · Vendor report · 2026-09-23
- Red Hat Bugzilla 2539279 (CVE-2026-96889) bugzilla.redhat.com · Vendor report · 2026-09-23
- GNOME librsvg work item 1241 gitlab.gnome.org · Research · 2026-09-23
- Debian Security Tracker CVE-2026-96889 security-tracker.debian.org · Vendor report · 2026-09-23
- Wiz Vulnerability Database CVE-2026-96889 Wiz · Research · 2026-09-23
- VectorFreed PoC repository GitHub · Proof of concept
Other reports on CVE-2026-96889
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.