本文へ移動
English version →
高 8.8

Pozeidenの脆弱性、細工した図の描画で異常終了やメモリ破壊のおそれ

CVE-2026-77347 SecPulse初出

概要

Pozeidenは、MermaidJSの図をZigで描画するツールです。0.3.0より前のバージョンでは、有効な図を描画するとメモリ範囲外の読み書きが起きる脆弱性があり、サービス妨害(DoS)やメモリ破壊のおそれがあります。修正版の0.3.0で対応しているため、0.3.0以降へ更新してください。

AI要約

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

Pozeidenは、MermaidJSの図をZigで描画するツールです。0.3.0より前のバージョンでは、有効な図を描画するとメモリ範囲外の読み書きが起きる脆弱性があり、サービス妨害(DoS)やメモリ破壊のおそれがあります。修正版の0.3.0で対応しているため、0.3.0以降へ更新してください。

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

Pozeiden is a MermaidJS renderer written in Zig. Prior to 0.3.0, src/renderers/c4.zig, src/renderers/class.zig, src/renderers/er.zig, and src/renderers/requirement.zig use fixed row-layout arrays while deriving subsequent loop bounds from an untrusted diagram's actual item count, and src/renderers/state.zig indexes a fixed depth array using user-controlled nesting depth. A valid diagram with at least 193 grid items can make the row count exceed the 64-row storage, while a deeply nested state diagram can exceed the col_count depth storage through the public pozeiden.render() path. Safe CLI and ReleaseSafe builds abort the rendering process, enabling reliable denial of service in applications that render untrusted diagrams. ReleaseSmall WASM builds with safety checks disabled instead perform out-of-bounds stack reads or writes, creating a memory-safety violation. This issue is fixed in version 0.3.0.

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

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