Memory Safety Issues in Pozeiden Diagram Renderer by SC2in
CVE-2026-77347
8.8HIGH
What is CVE-2026-77347?
Pozeiden, a MermaidJS renderer built in Zig, prior to version 0.3.0, exhibits vulnerabilities due to improper handling of array bounds. The implementation of fixed row-layout arrays leads to potential denial of service attacks when processing untrusted diagrams—specifically diagrams with at least 193 items can cause row storage overflow. Additionally, user-controlled nesting depth in state diagrams can exploit fixed array depths, resulting in out-of-bounds memory access in ReleaseSmall WASM builds. These issues can lead to severe memory-safety violations, impacting applications that utilize the rendering functionality.
Affected Version(s)
pozeiden < 0.3.0
