ALSA-2026:86921: Use-after-free in librsvg2 when XML entities are duplicated

librsvg2 Updated 22 Oct 2026

Summary

21/10/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:86921: Duplicated XML entities in SVG includes can trigger a use-after-free, potentially disrupting applications that process the affected content. Affects librsvg2 versions < 2.50.7-3.el9_8.1. Fixed in 2.50.7-3.el9_8.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

librsvg2 is an SVG library in the AlmaLinux:9 ecosystem. It provides Scalable Vector Graphics processing and is used by applications that need to handle SVG content. The advisory also covers the librsvg2-devel and librsvg2-tools packages, which are distributed alongside the library in this ecosystem.

Vulnerability Detail

Processing SVG content with XML includes containing duplicated entities can cause a use-after-free in librsvg. This memory-safety flaw may lead to application crashes or other unintended behavior while handling crafted input. The advisory identifies the issue as CVE-2026-96889 and RUSTSEC-2026-0305. The supplied record does not publish a CVSS score or further impact details.

How To Fix

Minimum fixed version

2.50.7-3.el9_8.1

This is the first release that contains the fix.

sudo dnf update librsvg2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

AI-generated workaround (not vendor-documented): Restrict librsvg2 processing to trusted SVG files and reject documents containing XML includes until the affected packages are upgraded.

Conclusion

Upgrade the affected packages to the minimum fixed version 2.50.7-3.el9_8.1. The advisory covers the library, development files, and tools in the AlmaLinux:9 ecosystem. Review package inventories and manifests to identify deployments that include these components. Vulert monitors the dependencies in a manifest file like package-lock.json and alerts when a new vulnerability affects them; check an application at https://vulert.com/scanner.

See every vulnerability recorded for librsvg2 →

Share this vulnerability

FAQ

The librsvg2, librsvg2-devel, and librsvg2-tools packages are affected before the fixed version 2.50.7-3.el9_8.1.

CVE-2026-96889 can trigger a use-after-free when librsvg processes XML includes with duplicated entities, potentially disrupting applications.

Upgrade the affected librsvg2 packages to the minimum fixed version 2.50.7-3.el9_8.1.

Restrict librsvg2 processing to trusted SVG files and reject documents containing XML includes until you can upgrade.

Check the installed package inventory or application manifest for librsvg2, librsvg2-devel, or librsvg2-tools. Vulert can scan a manifest or SBOM and monitor the dependency at Vulert Scanner.

Related vulnerabilities

Recent vulnerabilities recorded for librsvg2.

How To Fix

Minimum fixed version

2.50.7-3.el9_8.1

This is the first release that contains the fix.

sudo dnf update librsvg2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback