Critical Use-After-Free Vulnerability in librsvg2 Package

librsvg2 Updated 22 Oct 2026

Summary

22/10/2026
N/A
Yes i
High
7.8

RLSA-2026:86842: Important: librsvg2 security update. Affects librsvg2 versions < 0:2.42.7-6.el8_10. Fixed in 0:2.42.7-6.el8_10. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

librsvg2 is a library that provides support for rendering Scalable Vector Graphics (SVG) files, built on the libart library. It is widely used in various applications for handling SVG content due to its efficiency and versatility. However, it has been identified to have a critical vulnerability that can lead to severe security issues if exploited.

Vulnerability Detail

The vulnerability identified as CVE-2026-96889 is a use-after-free issue that occurs when XML includes have duplicated entities. This flaw can allow an attacker to manipulate memory, potentially leading to arbitrary code execution or application crashes. The ramifications of this vulnerability are significant, as it can compromise the integrity and confidentiality of the affected systems.

How To Fix

Minimum fixed version

0:2.42.7-6.el8_10

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

As a temporary workaround, users can avoid processing SVG files that may contain duplicated entities until the package is updated. This can help mitigate the risk of exploitation until a permanent fix is applied.

Conclusion

The librsvg2 package has a critical vulnerability (CVE-2026-96889) that can lead to severe security issues. It is essential to update to the patched version to mitigate risks. Users are encouraged to monitor their systems for vulnerabilities using tools like Vulert, which can provide real-time alerts based on manifest files.

See every vulnerability recorded for librsvg2 →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.8, indicating a high severity level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability could lead to arbitrary code execution, application crashes, and potential data breaches.

Yes, the patched version of librsvg2 is 0:2.42.7-6.el8_10, which resolves the use-after-free issue.

If immediate updates are not possible, refrain from using SVG files that may contain duplicated entities as a temporary measure to reduce risk.

Related vulnerabilities

Recent vulnerabilities recorded for librsvg2.

How To Fix

Minimum fixed version

0:2.42.7-6.el8_10

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