本文へ移動
English version →
高 9.5

librsvgにXInclude処理の解放後使用の脆弱性、リモートから攻撃されるおそれ

CVE-2026-96889 SecPulse初出

概要

librsvgでは、入れ子になったXIncludeを含むSVG文書を解析する際に、同名のXMLエンティティ宣言によって解放済みのメモリを参照する問題があります。悪用は確認されていません。影響を受けるのは2.57.5未満、2.57.90以上2.60.3未満、2.61.0以上2.61.5未満、2.61.90以上2.62.4未満、2.62.90以上2.63.2未満のバージョンで、修正版は2.57.5、2.60.3、2.61.5、2.62.4、2.63.2です。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

librsvg という製品で、CVE-2026-96889 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 7.8/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「librsvg CVE-2026-96889」を検索してください。

CVE-2026-96889 (librsvg) — CWE-416 / CVSS v3 7.8
攻撃ベクター: ローカル / 認証不要
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

librsvg に 解放後使用 (use-after-free) (CWE-416) があります。

影響範囲

librsvg の影響バージョンはベンダーのアドバイザリで確認してください。

重要度

重要度: 重要 (CVSS 7.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。

修正方法

ベンダー公式アドバイザリの修正版に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'librsvg' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で librsvg を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
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
Red HatRed Hat Enterprise Linux 10 —
Red HatRed Hat Enterprise Linux 8 —
Red HatRed Hat Enterprise Linux 9 —
Red HatRed Hat Enterprise Linux 6 —
Red HatRed Hat Enterprise Linux 7 —
rustlibrsvg
2.63.2 未満→ 2.63.2
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support —
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On —
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support —
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On —
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support —
Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Support —
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service —
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions —
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions —
Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions —
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support —
Red HatRed Hat OpenShift AI 3.0 —
Red HatRed Hat OpenShift AI 3.4 —
Red HatRed Hat OpenShift AI 3.5 —

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

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.

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく