Use-After-Free in librsvg
Summary
Vulnerability in librsvg (CVE-2026-96889). Successful exploitation can lead to full system takeover.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-96889 has been found in librsvg.
Successful exploitation can lead to full system takeover. CVSS score: 7.8/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "librsvg CVE-2026-96889" on the vendor's site.
CVE-2026-96889 (librsvg) — CWE-416 / CVSS v3 7.8
Attack vector: local / unauthenticated
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Use-after-free (CWE-416) exists in librsvg.
Check the vendor advisory for the affected versions of librsvg.
Severity: High (CVSS 7.8/10). Successful exploitation can lead to full system takeover.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'librsvg' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'librsvg' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
librsvgを grep し、稼働しているサービス・バージョンを把握する。 -
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| crates.iolibrsvg |
≥ 0.0.0-0, < 2.57.5→ 2.57.5 ≥ 2.57.90, < 2.60.3→ 2.60.3 ≥ 2.61.0, < 2.61.5→ 2.61.5 ≥ 2.61.90, < 2.62.4→ 2.62.4 ≥ 2.62.90, < 2.63.2→ 2.63.2 |
2.57.5 2.60.3 2.61.5 2.62.4 2.63.2 |
| Red HatRed Hat Enterprise Linux 10 | — | Not listed |
| Red HatRed Hat Enterprise Linux 8 | — | Not listed |
| Red HatRed Hat Enterprise Linux 9 | — | Not listed |
| Red HatRed Hat Enterprise Linux 6 | — | Not listed |
| Red HatRed Hat Enterprise Linux 7 | — | Not listed |
| rustlibrsvg |
< 2.63.2→ 2.63.2 |
2.63.2 |
| Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | — | Not listed |
| Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | — | Not listed |
| Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | — | Not listed |
| Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | — | Not listed |
| Red HatRed Hat Enterprise Linux 10.0 Extended Update Support | — | Not listed |
| Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Support | — | Not listed |
| Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service | — | Not listed |
| Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions | — | Not listed |
| Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions | — | Not listed |
| Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions | — | Not listed |
| Red HatRed Hat Enterprise Linux 9.6 Extended Update Support | — | Not listed |
| Red HatRed Hat OpenShift AI 3.0 | — | Not listed |
| Red HatRed Hat OpenShift AI 3.4 | — | Not listed |
| Red HatRed Hat OpenShift AI 3.5 | — | Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-96889 librsvg Fix available
- Debian DEBIAN-CVE-2026-96889 librsvg Fix available
- Ubuntu UBUNTU-CVE-2026-96889 librsvg Fix available
Original description The description as published by the source.
Librsvg uses libxml2, a C library, to parse XML. When librsvg parses
an SVG document which has a nested Xinclude, an XML entity declaration
with a duplicate name as an existing one can cause a use-after-free error.
While libxml2 is expanding an internal entity, a recursive XInclude
can parse another document that declares an entity with the same
name. Both parses use the same XmlState entity
map on the librsvg side. entity_insert() replaces the first entry, whose Drop
implementation calls xmlFreeNode(). The outer xmlCtxtParseEntity()
then keeps using the freed 144-byte xmlEntity.
The included parse should not free an entity that the outer parser is still using.
The fix is in commit 8a1b0cd319e9af2d1e9cf878081dd77f227a0504, where
librsvg will no longer free xmlEntity pointers that libxml2 is still
using.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory nvd.nist.gov
- DSA DSA-6555-1
- GITHUB_REPO_ADVISORY vercel/next.js
- package gitlab.gnome.org
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web gitlab.gnome.org
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web github.com
- web github.com
- web github.com
- web github.com
- web gitlab.gnome.org
- web gitlab.gnome.org
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com